mirror of
https://github.com/fluencelabs/go-libp2p-kad-dht
synced 2025-06-26 19:21:41 +00:00
try less aggressive bootstrap
This commit is contained in:
@ -27,7 +27,7 @@ import (
|
|||||||
// Note there is also a tradeoff between the bootstrap period and the number
|
// Note there is also a tradeoff between the bootstrap period and the number
|
||||||
// of queries. We could support a higher period with a smaller number of
|
// of queries. We could support a higher period with a smaller number of
|
||||||
// queries
|
// queries
|
||||||
const DefaultBootstrapQueries = 16
|
const DefaultBootstrapQueries = 1
|
||||||
|
|
||||||
// DefaultBootstrapPeriod specifies how often to periodically run bootstrap,
|
// DefaultBootstrapPeriod specifies how often to periodically run bootstrap,
|
||||||
// if the user does not specify a different number as an option.
|
// if the user does not specify a different number as an option.
|
||||||
|
Reference in New Issue
Block a user