mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -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):
|
def _snapshot(self):
|
||||||
persist_interval = 30 # persist unfinished uploads index every 30 sec
|
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 = {}
|
prev = {}
|
||||||
while True:
|
while True:
|
||||||
time.sleep(persist_interval)
|
time.sleep(persist_interval)
|
||||||
|
|
Loading…
Reference in a new issue