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:
parent
1756b8d242
commit
4ff5323acd
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ Zotero.DBConnection.prototype.executeTransaction = Zotero.Promise.coroutine(func
|
||||||
|
|
||||||
try {
|
try {
|
||||||
while (this._transactionID) {
|
while (this._transactionID) {
|
||||||
yield this.waitForTransaction(id).timeout(options.waitTimeout || 10000);
|
yield this.waitForTransaction(id).timeout(options.waitTimeout || 30000);
|
||||||
}
|
}
|
||||||
startedTransaction = true;
|
startedTransaction = true;
|
||||||
this._transactionID = id;
|
this._transactionID = id;
|
||||||
|
|
Loading…
Reference in a new issue