Skip to content

Commit 867c758

Browse files
fix: store-query issue in v0.37.0
1 parent 41630f4 commit 867c758

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

waku/factory/conf_builder/waku_conf_builder.nim

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,7 @@ proc withPeerStoreCapacity*(b: var WakuConfBuilder, peerStoreCapacity: int) =
208208
b.peerStoreCapacity = some(peerStoreCapacity)
209209

210210
proc withMaxConnections*(b: var WakuConfBuilder, maxConnections: int) =
211-
if maxConnections < 200:
212-
raise newException(ValueError, "maxConnections cannot be less than 200")
213-
b.maxConnections = some(200)
214-
else:
215-
b.maxConnections = some(maxConnections)
211+
b.maxConnections = some(maxConnections)
216212

217213
proc withDnsAddrsNameServers*(
218214
b: var WakuConfBuilder, dnsAddrsNameServers: seq[IpAddress]

0 commit comments

Comments
 (0)