mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +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"
|
warn "Peer persistence not specified, defaulting to false"
|
||||||
false
|
false
|
||||||
|
|
||||||
var maxConnections: int
|
let maxConnections = builder.maxConnections.get()
|
||||||
if builder.maxConnections.isSome():
|
if maxConnections < 150:
|
||||||
maxConnections = builder.maxConnections.get()
|
warn "max-connections less than 150; we suggest using 150 or more for better connectivity",
|
||||||
if maxConnections < 150:
|
provided = maxConnections
|
||||||
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
|
|
||||||
|
|
||||||
# TODO: Do the git version thing here
|
# TODO: Do the git version thing here
|
||||||
let agentString = builder.agentString.get("nwaku")
|
let agentString = builder.agentString.get("nwaku")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user