From 0aaf954cea62e3d03ea35f8acef8e200c1cc7b2d Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 29 Jan 2021 00:52:22 +0100 Subject: [PATCH] up2k: increase purge timeout --- copyparty/up2k.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/up2k.py b/copyparty/up2k.py index 76a28ef0..45394676 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -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)