From 38e5d932726fc972574ecb784465a137c945900f Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Fri, 14 Jun 2019 12:38:48 +0300 Subject: [PATCH] Resend onionpeer object if it expired while the node ran --- src/class_singleCleaner.py | 1 + src/class_singleWorker.py | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/class_singleCleaner.py b/src/class_singleCleaner.py index 82d6b491..e2cdbb89 100644 --- a/src/class_singleCleaner.py +++ b/src/class_singleCleaner.py @@ -84,6 +84,7 @@ class singleCleaner(threading.Thread, StoppableThread): int(time.time()) - 7380: timeWeLastClearedInventoryAndPubkeysTables = int(time.time()) Inventory().clean() + queues.workerQueue.put(('sendOnionPeerObj', '')) # pubkeys sqlExecute( "DELETE FROM pubkeys WHERE time