mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 05:53:11 +00:00
chore: not forcing value
This commit is contained in:
parent
0bd5a7ba59
commit
98493ff605
@ -585,15 +585,10 @@ proc build*(
|
||||
warn "Peer persistence not specified, defaulting to false"
|
||||
false
|
||||
|
||||
var maxConnections: int
|
||||
if builder.maxConnections.isSome():
|
||||
maxConnections = builder.maxConnections.get()
|
||||
if maxConnections < 150:
|
||||
warn "max-connections less than 150; we suggest using 150 or more for better connectivity",
|
||||
provided = maxConnections
|
||||
else:
|
||||
warn "Max Connections was not specified, defaulting to 150"
|
||||
maxConnections = 150
|
||||
let maxConnections = builder.maxConnections.get()
|
||||
if maxConnections < 150:
|
||||
warn "max-connections less than 150; we suggest using 150 or more for better connectivity",
|
||||
provided = maxConnections
|
||||
|
||||
# TODO: Do the git version thing here
|
||||
let agentString = builder.agentString.get("nwaku")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user