mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-05 08:18:03 +08:00
go-ipfs-config: Reprovider strategies
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
parent
c875a44a8d
commit
92d7259c68
@ -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