Temporarily increase sync upload timeout from 60 to 120 seconds

This shouldn't be necessary, but currently items with thousands of
creators can be very slow to save.
This commit is contained in:
Dan Stillman 2021-02-03 16:17:47 -05:00
parent fd94d731d4
commit 293bf07c03

View file

@ -46,7 +46,7 @@ Zotero.Sync.APIClient = function (options) {
Zotero.Sync.APIClient.prototype = {
MAX_OBJECTS_PER_REQUEST: 100,
MIN_GZIP_SIZE: 1000,
UPLOAD_TIMEOUT: 60000,
UPLOAD_TIMEOUT: 120000,
getKeyInfo: Zotero.Promise.coroutine(function* (options={}) {