From 2ec95df3ec512458ae425c33635a399e7ba55d03 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 10 Oct 2021 13:50:57 +0200 Subject: [PATCH] Fixed announce interval interpreted as seconds instead of minutes. --- nomadnet/Node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomadnet/Node.py b/nomadnet/Node.py index ad46b76..ab10139 100644 --- a/nomadnet/Node.py +++ b/nomadnet/Node.py @@ -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)