mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
up2k: increase purge timeout
This commit is contained in:
parent
c2d22aa3d1
commit
0aaf954cea
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue