Reset locks

This commit is contained in:
Andras Schmelczer 2025-02-23 11:31:03 +00:00
parent 78266267c6
commit eeb7999d76
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 12 additions and 2 deletions

View file

@ -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) {