Skip to content

Commit c8e9418

Browse files
Mark collectGarbage idempotent
1 parent 7134b9c commit c8e9418

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
@@ -1006,7 +1006,7 @@ export class LocalStore {
10061006
collectGarbage(garbageCollector: LruGarbageCollector): Promise<LruResults> {
10071007
return this.persistence.runTransaction(
10081008
'Collect garbage',
1009-
'readwrite-primary',
1009+
'readwrite-primary-idempotent',
10101010
txn => garbageCollector.collect(txn, this.queryDataByTarget)
10111011
);
10121012
}

0 commit comments

Comments
 (0)