Fix excessive file sync mtime updates/checks (probably?)
This commit is contained in:
parent
f5ce2d238e
commit
1c2b2575f7
1 changed files with 3 additions and 2 deletions
|
@ -864,13 +864,14 @@ Zotero.Sync.Storage = new function () {
|
|||
Zotero.debug("Remote mod time for item " + lk + " is " + itemModTimes[item.id]);
|
||||
|
||||
// Ignore attachments whose stored mod times haven't changed
|
||||
if (row.storageModTime == itemModTimes[id]) {
|
||||
if (row.storageModTime == itemModTimes[item.id]) {
|
||||
Zotero.debug("Storage mod time (" + row.storageModTime + ") "
|
||||
+ "hasn't changed for item " + lk);
|
||||
continue;
|
||||
}
|
||||
|
||||
Zotero.debug("Marking attachment " + lk + " for download");
|
||||
Zotero.debug("Marking attachment " + lk + " for download "
|
||||
+ "(stored mtime: " + itemModTimes[item.id] + ")");
|
||||
updatedStates[item.id] = Zotero.Sync.Storage.SYNC_STATE_FORCE_DOWNLOAD;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue