Skip to content

Commit 0698558

Browse files
Mark collectGarbage idempotent
1 parent 5cf8e53 commit 0698558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/src/local/local_store.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ export class LocalStore {
10351035
collectGarbage(garbageCollector: LruGarbageCollector): Promise<LruResults> {
10361036
return this.persistence.runTransaction(
10371037
'Collect garbage',
1038-
'readwrite-primary',
1038+
'readwrite-primary-idempotent',
10391039
txn => garbageCollector.collect(txn, this.queryDataByTarget)
10401040
);
10411041
}

0 commit comments

Comments
 (0)