From b5ac1ed7d84e591334972be934e5379509bc16a6 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Fri, 20 Mar 2020 03:45:25 -0500 Subject: [PATCH] correct timer thread amounts --- src/communicator/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/communicator/__init__.py b/src/communicator/__init__.py index 0f0f5782..53776dbc 100755 --- a/src/communicator/__init__.py +++ b/src/communicator/__init__.py @@ -152,11 +152,11 @@ class OnionrCommunicatorDaemon: # Timer to reset the longest offline peer # so contact can be attempted again OnionrCommunicatorTimers( - self, onlinepeers.clear_offline_peer, 58, my_args=[self]) + self, onlinepeers.clear_offline_peer, 58, my_args=[self], max_threads=1) # Timer to cleanup old blocks blockCleanupTimer = OnionrCommunicatorTimers( - self, housekeeping.clean_old_blocks, 20, my_args=[self]) + self, housekeeping.clean_old_blocks, 20, my_args=[self], max_threads=1) # Timer to discover new peers OnionrCommunicatorTimers(