go-ipfs-config: Reprovider strategies

License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
Łukasz Magiera 2017-08-01 02:57:21 +02:00
parent c875a44a8d
commit 92d7259c68
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
}