mirror of
https://github.com/9001/copyparty.git
synced 2026-11-19 21:16:37 +00:00
up2k: increase purge timeout
This commit is contained in:
1 parent
c2d22aa3d1
commit
0aaf954cea
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user