go-ipfs-config: Merge pull request #4113 from ipfs/feat/reprovider-starts

Reprovider strategies
This commit is contained in:
Jeromy Johnson 2017-08-15 17:13:23 -07:00 committed by GitHub
commit 5ae8a3660f
2 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
},
Reprovider: Reprovider{
Interval: "12h",
Strategy: "all",
},
}

View File

@ -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
}