mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-01-26 06:16:03 -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:
|
while self.should_run_jobs:
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
|
||||||
if now > self.last_announce + self.announce_interval:
|
if now > self.last_announce + self.announce_interval*60:
|
||||||
self.announce()
|
self.announce()
|
||||||
|
|
||||||
time.sleep(self.job_interval)
|
time.sleep(self.job_interval)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user