Skip to content

Commit 810d071

Browse files
authored
Fix precedence problem that caused us to clear from pending and seen when we shouldn't have. (#1436)
1 parent db30ece commit 810d071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runner/src/storage/cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ export class Replica {
879879
// facts (or gotten a conflict).
880880
// Server facts may have newer nursery changes that we want to keep.
881881
const freshFacts = revisions.filter((revision) =>
882-
this.pendingNurseryChanges.get(toKey(revision))?.size ?? 0 === 0
882+
(this.pendingNurseryChanges.get(toKey(revision))?.size ?? 0) === 0
883883
);
884884

885885
// Evict redundant facts which we just merged into `heap` so that reads

0 commit comments

Comments
 (0)