Cap numBackups at 24
This commit is contained in:
parent
dd230b278b
commit
df8e1f15f8
1 changed files with 3 additions and 0 deletions
|
@ -725,6 +725,9 @@ Zotero.DBConnection.prototype.backupDatabase = function (suffix) {
|
|||
Zotero.debug("Backups disabled");
|
||||
return false;
|
||||
}
|
||||
if (numBackups > 24) {
|
||||
numBackups = 24;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.transactionInProgress()) {
|
||||
|
|
Loading…
Reference in a new issue