From 293bf07c03cebc50d700b8171e7d18465c724815 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 3 Feb 2021 16:17:47 -0500 Subject: [PATCH] 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. --- chrome/content/zotero/xpcom/sync/syncAPIClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/sync/syncAPIClient.js b/chrome/content/zotero/xpcom/sync/syncAPIClient.js index 9f494d2b3b..3a499c7a86 100644 --- a/chrome/content/zotero/xpcom/sync/syncAPIClient.js +++ b/chrome/content/zotero/xpcom/sync/syncAPIClient.js @@ -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={}) {