Reset locks
This commit is contained in:
parent
78266267c6
commit
eeb7999d76
3 changed files with 12 additions and 2 deletions
|
|
@ -527,7 +527,11 @@ export class UnrestrictedSyncer {
|
|||
}
|
||||
}
|
||||
|
||||
public async tryIncrementVaultUpdateId(
|
||||
public reset(): void {
|
||||
this.locks.reset();
|
||||
}
|
||||
|
||||
private async tryIncrementVaultUpdateId(
|
||||
responseVaultUpdateId: number
|
||||
): Promise<void> {
|
||||
if (this.database.getLastSeenUpdateId() === responseVaultUpdateId - 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue