Keep known nodes for 28 instead of 2 days
This commit is contained in:
parent
c58c1969e5
commit
8df8d15cba
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user