fix(sqlite): dangling timeout when multiple .load() calls
This commit is contained in:
parent
c538c2b059
commit
81eb664fec
1 changed files with 1 additions and 0 deletions
|
@ -485,6 +485,7 @@ export class SqliteStorage implements ITelegramStorage /*, IStateStorage*/ {
|
|||
})
|
||||
})
|
||||
|
||||
clearInterval(this._vacuumTimeout)
|
||||
this._vacuumTimeout = setInterval(this._vacuum.bind(this), this._vacuumInterval)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue