commit da9ac72d517f3c1ce88d5f371b282a9d70d085d9
parent 715193639b2a47c239d4101f9aa527f0f70d9bd4
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 10 Aug 2016 01:57:52 -0400
Fix error adding >200 items to sync queue
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/sync/syncLocal.js b/chrome/content/zotero/xpcom/sync/syncLocal.js
@@ -1580,7 +1580,7 @@ Zotero.Sync.Data.Local = {
+ "(libraryID, key, syncObjectTypeID, lastCheck, tries) VALUES ";
return Zotero.Utilities.Internal.forEachChunkAsync(
keys,
- Math.floor(Zotero.DB.MAX_BOUND_PARAMETERS / 3),
+ Math.floor(Zotero.DB.MAX_BOUND_PARAMETERS / 5),
function (chunk) {
var params = chunk.reduce(
(arr, key) => arr.concat(