Increase DB timeout to 30 seconds

Though it would be real nice to avoid situations where this might be necessary
This commit is contained in:
Dan Stillman 2017-01-03 15:50:33 -05:00
parent 1756b8d242
commit 4ff5323acd

View file

@ -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;