mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-02 13:33:08 +00:00
simulation: bump bucketIpLimit to 100000 to avoid test issues
Nodes on single IP are limited in normal operation. This would create issues for tests, so better turn off this mechanism. Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
fc2e2a031d
commit
8dc1ee5ac3
@ -31,7 +31,7 @@ proc initDiscoveryNode*(
|
||||
previousRecord = none[SignedPeerRecord]()):
|
||||
discv5_protocol.Protocol =
|
||||
# set bucketIpLimit to allow bucket split
|
||||
let config = DiscoveryConfig.init(1000, 24, 5)
|
||||
let config = DiscoveryConfig.init(100000, 100000, 5)
|
||||
|
||||
let protocol = newProtocol(
|
||||
privKey,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user