Skip to content

Commit

Permalink
go-ipfs-config: Merge pull request ipfs#4113 from ipfs/feat/reprovide…
Browse files Browse the repository at this point in the history
…r-starts

Reprovider strategies
  • Loading branch information
whyrusleeping committed Aug 16, 2017
2 parents 271821b + 1e2ebcd commit d3b4961
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
},
Reprovider: Reprovider{
Interval: "12h",
Strategy: "all",
},
}

Expand Down
1 change: 1 addition & 0 deletions config/reprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ package config

type Reprovider struct {
Interval string // Time period to reprovide locally stored objects to the network
Strategy string // Which keys to announce
}

0 comments on commit d3b4961

Please sign in to comment.