mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
stop reindexing empty files on startup
This commit is contained in:
parent
c00b80ca29
commit
ad18b6e15e
|
@ -833,7 +833,7 @@ class Up2k(object):
|
|||
self.log(t.format(top, rp, len(in_db), rep_db))
|
||||
dts = -1
|
||||
|
||||
if dts == lmod and dsz == sz and (nohash or dw[0] != "#"):
|
||||
if dts == lmod and dsz == sz and (nohash or dw[0] != "#" or not sz):
|
||||
continue
|
||||
|
||||
t = "reindex [{}] => [{}] ({}/{}) ({}/{})".format(
|
||||
|
|
Loading…
Reference in a new issue