From da9ac72d517f3c1ce88d5f371b282a9d70d085d9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 10 Aug 2016 01:57:52 -0400 Subject: [PATCH] Fix error adding >200 items to sync queue --- chrome/content/zotero/xpcom/sync/syncLocal.js | 2 +- 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 index ed7663fab..1608bdb4d 100644 --- 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(