From 2ec674fbf35778006b957bda5bacec3d31280935 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 9 Oct 2021 13:41:48 +0200 Subject: [PATCH] Fixed node announce interval --- nomadnet/Node.py | 4 ++++ nomadnet/_version.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nomadnet/Node.py b/nomadnet/Node.py index 1be51ab..ad46b76 100644 --- a/nomadnet/Node.py +++ b/nomadnet/Node.py @@ -31,6 +31,10 @@ class Node: if self.app.node_announce_at_start: self.announce() + job_thread = threading.Thread(target=self.__jobs) + job_thread.setDaemon(True) + job_thread.start() + def register_pages(self): self.servedpages = [] diff --git a/nomadnet/_version.py b/nomadnet/_version.py index 48fef32..acf3be3 100644 --- a/nomadnet/_version.py +++ b/nomadnet/_version.py @@ -1 +1 @@ -__version__ = "0.1.2" \ No newline at end of file +__version__ = "0.1.3" \ No newline at end of file