mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-15 08:26:40 +00:00
deploy: 8f741de483a0dd4ac180dc634191b1060ebd2737
This commit is contained in:
parent
324308dbdf
commit
0da251bda3
@ -2,7 +2,7 @@
|
||||
|
||||
# libtool - Provide generalized library-building support services.
|
||||
# Generated automatically by config.status (libbacktrace) version-unused
|
||||
# Libtool was configured on host fv-az173-831:
|
||||
# Libtool was configured on host fv-az132-75:
|
||||
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
||||
#
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
||||
|
@ -703,8 +703,6 @@ when isMainModule:
|
||||
if conf.storenode != "":
|
||||
setStorePeer(node, conf.storenode)
|
||||
|
||||
if conf.persistMessages:
|
||||
waitFor node.resume()
|
||||
|
||||
|
||||
# Relay setup
|
||||
@ -713,6 +711,10 @@ when isMainModule:
|
||||
rlnRelayEnabled = conf.rlnRelay,
|
||||
keepAlive = conf.keepAlive,
|
||||
relayMessages = conf.relay) # Indicates if node is capable to relay messages
|
||||
|
||||
# Resume historical messages, this has to be called after the relay setup
|
||||
if conf.store and conf.persistMessages:
|
||||
waitFor node.resume()
|
||||
|
||||
if conf.staticnodes.len > 0:
|
||||
waitFor connectToNodes(node, conf.staticnodes)
|
||||
@ -761,4 +763,4 @@ when isMainModule:
|
||||
|
||||
c_signal(SIGTERM, handleSigterm)
|
||||
|
||||
runForever()
|
||||
runForever()
|
||||
|
Loading…
x
Reference in New Issue
Block a user