mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-09 09:23:14 +00:00
fix: store-query issue in v0.37.0
This commit is contained in:
parent
41630f4fa3
commit
867c758451
@ -208,11 +208,7 @@ proc withPeerStoreCapacity*(b: var WakuConfBuilder, peerStoreCapacity: int) =
|
||||
b.peerStoreCapacity = some(peerStoreCapacity)
|
||||
|
||||
proc withMaxConnections*(b: var WakuConfBuilder, maxConnections: int) =
|
||||
if maxConnections < 200:
|
||||
raise newException(ValueError, "maxConnections cannot be less than 200")
|
||||
b.maxConnections = some(200)
|
||||
else:
|
||||
b.maxConnections = some(maxConnections)
|
||||
b.maxConnections = some(maxConnections)
|
||||
|
||||
proc withDnsAddrsNameServers*(
|
||||
b: var WakuConfBuilder, dnsAddrsNameServers: seq[IpAddress]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user