up2k: increase purge timeout

This commit is contained in:
ed 2021-01-29 00:52:22 +01:00
parent c2d22aa3d1
commit 0aaf954cea

View file

@ -561,7 +561,7 @@ class Up2k(object):
def _snapshot(self):
persist_interval = 30 # persist unfinished uploads index every 30 sec
discard_interval = 3600 # drop unfinished uploads after 1 hour inactivity
discard_interval = 21600 # drop unfinished uploads after 6 hours inactivity
prev = {}
while True:
time.sleep(persist_interval)