Fixed announce interval interpreted as seconds instead of minutes.

This commit is contained in:
Mark Qvist 2021-10-10 13:50:57 +02:00
parent 313cc108de
commit 2ec95df3ec

View File

@ -138,7 +138,7 @@ class Node:
while self.should_run_jobs:
now = time.time()
if now > self.last_announce + self.announce_interval:
if now > self.last_announce + self.announce_interval*60:
self.announce()
time.sleep(self.job_interval)