This commit is contained in:
j 2019-02-02 14:57:04 +05:30
parent de9a172f39
commit d84e950ca8

View file

@ -512,7 +512,7 @@ class Nodes(Thread):
self.queue('add', u.id, True)
self.local = LocalNodes()
self._pullcb = PeriodicCallback(self.pull, settings.server['pull_interval'])
state.main.add_callback(self._pingcb.start)
state.main.add_callback(self.pullcb.start)
Thread.__init__(self)
self.daemon = True
self.start()