Skip to content

Commit 83ccb76

Browse files
Mark collectGarbage idempotent (#2267)
1 parent 2dbe8cf commit 83ccb76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/src/local/local_store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ export class LocalStore {
10551055
collectGarbage(garbageCollector: LruGarbageCollector): Promise<LruResults> {
10561056
return this.persistence.runTransaction(
10571057
'Collect garbage',
1058-
'readwrite-primary',
1058+
'readwrite-primary-idempotent',
10591059
txn => garbageCollector.collect(txn, this.queryDataByTarget)
10601060
);
10611061
}

0 commit comments

Comments
 (0)