mirror of
				https://github.com/9001/copyparty.git
				synced 2025-11-03 21:43:12 +00:00 
			
		
		
		
	stop reindexing empty files on startup
This commit is contained in:
		@@ -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(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user