From 4ff5323acd156cfbbe9fe99bbdafa157b0c2dff3 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 3 Jan 2017 15:50:33 -0500 Subject: [PATCH] Increase DB timeout to 30 seconds Though it would be real nice to avoid situations where this might be necessary --- chrome/content/zotero/xpcom/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js index ea4f9d0ce0..77d31b9ddf 100644 --- a/chrome/content/zotero/xpcom/db.js +++ b/chrome/content/zotero/xpcom/db.js @@ -468,7 +468,7 @@ Zotero.DBConnection.prototype.executeTransaction = Zotero.Promise.coroutine(func try { while (this._transactionID) { - yield this.waitForTransaction(id).timeout(options.waitTimeout || 10000); + yield this.waitForTransaction(id).timeout(options.waitTimeout || 30000); } startedTransaction = true; this._transactionID = id;