mirror of
https://github.com/9001/copyparty.git
synced 2026-03-19 14:43:10 +10:00
fix misleading log-msg
This commit is contained in:
@@ -2128,7 +2128,11 @@ class Up2k(object):
|
||||
if not histpath:
|
||||
return
|
||||
|
||||
rm = [x for x in reg.values() if now - x["poke"] > self.snap_discard_interval]
|
||||
rm = [
|
||||
x
|
||||
for x in reg.values()
|
||||
if x["need"] and now - x["poke"] > self.snap_discard_interval
|
||||
]
|
||||
if rm:
|
||||
m = "dropping {} abandoned uploads in {}".format(len(rm), ptop)
|
||||
vis = [self._vis_job_progress(x) for x in rm]
|
||||
|
||||
Reference in New Issue
Block a user