fix media sync thinking >25 changes is a concurrent update

This commit is contained in:
Damien Elmes 2014-07-15 11:36:52 +09:00
parent 0f6bc861d4
commit ba8ed39e13

View file

@ -803,6 +803,7 @@ class MediaSyncer(object):
if serverLastUsn - processedCnt == lastUsn:
self.col.log("lastUsn in sync, updating local")
lastUsn = serverLastUsn
self.col.media.setLastUsn(serverLastUsn) # commits
else:
self.col.log("concurrent update, skipping usn update")