mirror of
https://github.com/fluencelabs/go-libp2p-kad-dht
synced 2025-04-24 14:22:13 +00:00
Set defaults for RoutingTable.LatencyTolerance.
This commit is contained in:
parent
fececcc819
commit
04a53d2886
@ -62,6 +62,7 @@ var Defaults = func(o *Options) error {
|
||||
o.EnableProviders = true
|
||||
o.EnableValues = true
|
||||
|
||||
o.RoutingTable.LatencyTolerance = time.Minute
|
||||
o.RoutingTable.RefreshQueryTimeout = 10 * time.Second
|
||||
o.RoutingTable.RefreshPeriod = 1 * time.Hour
|
||||
o.RoutingTable.AutoRefresh = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user