mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-17 23:04:24 +01:00
Fixed announce interval interpreted as seconds instead of minutes.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user