mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced 2025-02-12 03:47:07 +00:00
override bucketIpLimit for local tests
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
74ead04295
commit
b34da54c19
@ -31,7 +31,7 @@ proc initDiscoveryNode*(
|
|||||||
previousRecord = none[SignedPeerRecord]()):
|
previousRecord = none[SignedPeerRecord]()):
|
||||||
discv5_protocol.Protocol =
|
discv5_protocol.Protocol =
|
||||||
# set bucketIpLimit to allow bucket split
|
# set bucketIpLimit to allow bucket split
|
||||||
let config = DiscoveryConfig.init(1000, 24, 5)
|
let config = DiscoveryConfig.init(10000, 10000, 5)
|
||||||
|
|
||||||
let protocol = newProtocol(
|
let protocol = newProtocol(
|
||||||
privKey,
|
privKey,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user