mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-07 09:17:49 +08:00
go-ipfs-config: Merge pull request #4113 from ipfs/feat/reprovider-starts
Reprovider strategies
This commit is contained in:
commit
5ae8a3660f
@ -72,6 +72,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
|
||||
},
|
||||
Reprovider: Reprovider{
|
||||
Interval: "12h",
|
||||
Strategy: "all",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user