Skip to content

Commit

Permalink
fixup! feat(cosmic-swingset): Use vat cleanup budget values to allow …
Browse files Browse the repository at this point in the history
…slow cleanup
  • Loading branch information
gibson042 committed Oct 3, 2024
1 parent a3da3e1 commit 9fe3b50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cosmic-swingset/src/launch-chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,9 @@ function computronCounter(
remainingCleanups[phase] -= count;
if (remainingCleanups[phase] <= 0) cleanupDone = true;
}
return !cleanupDone && shouldRun();
// We return true to allow processing of any BOYD/GC prompted by cleanup,
// even if cleanup as such is now done.
return true;
};

const policy = harden({
Expand Down

0 comments on commit 9fe3b50

Please sign in to comment.