diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js index e3888d0dc..03613c17b 100644 --- a/chrome/content/zotero/xpcom/storage.js +++ b/chrome/content/zotero/xpcom/storage.js @@ -742,9 +742,9 @@ Zotero.Sync.Storage = new function () { itemIDs = Object.keys(itemModTimes ? itemModTimes : {}); } - // Can only handle 999 bound parameters at a time + // Can only handle a certain number of bound parameters at a time var numIDs = itemIDs.length; - var maxIDs = 990; + var maxIDs = Zotero.DB.MAX_BOUND_PARAMETERS - 10; var done = 0; var rows = [];