From 8df8d15cba14c941f05e28b09833edc3c5552691 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Sun, 21 Aug 2016 07:28:33 +0200 Subject: [PATCH] Keep known nodes for 28 instead of 2 days --- src/class_singleCleaner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class_singleCleaner.py b/src/class_singleCleaner.py index b9e8b1a1..04ee3f9b 100644 --- a/src/class_singleCleaner.py +++ b/src/class_singleCleaner.py @@ -87,7 +87,7 @@ class singleCleaner(threading.Thread, StoppableThread): shared.knownNodesLock.acquire() for stream in shared.knownNodes: for node in shared.knownNodes[stream].keys(): - if now - shared.knownNodes[stream][node] > 259200: # 3 days + if now - shared.knownNodes[stream][node] > 2419200: # 28 days shared.needToWriteKownNodesToDisk = True del shared.knownNodes[stream][node] shared.knownNodesLock.release()