mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-17 21:30:25 -04:00
Fixed announce interval interpreted as seconds instead of minutes.
This commit is contained in:
parent
313cc108de
commit
2ec95df3ec
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue