slower online check

This commit is contained in:
j 2016-01-09 11:16:35 +05:30
parent 4f9e3d9c4d
commit 4a1aa73c76

View file

@ -152,7 +152,7 @@ def run():
state.nodes = nodes.Nodes()
def publish():
if not state.tor.is_online():
state.main.call_later(1, publish)
state.main.call_later(10, publish)
else:
nodes.publish_node()
state.main.add_callback(publish)