mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-01-12 07:39:37 -05:00
Fixed announce interval interpreted as seconds instead of minutes.
This commit is contained in:
parent
313cc108de
commit
2ec95df3ec
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user