Fix error adding >200 items to sync queue
This commit is contained in:
parent
715193639b
commit
da9ac72d51
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue