Skip to content

wire pruneToLimit into task completion#11

Merged
AlephNotation merged 1 commit intomainfrom
wire-prune
Mar 1, 2026
Merged

wire pruneToLimit into task completion#11
AlephNotation merged 1 commit intomainfrom
wire-prune

Conversation

@AlephNotation
Copy link
Contributor

Calls tree.pruneToLimit() after both onDone and failTask in reef.ts. Old completed task subtrees are automatically archived to disk when the hot count exceeds 1500.

Without this, pruneToLimit() existed but was never called — the tree would grow unbounded.

291 tests, 0 lint errors.

Call tree.pruneToLimit() after both onDone and failTask so old
completed tasks are automatically archived when hot count exceeds
1500.
@AlephNotation AlephNotation merged commit 5155c06 into main Mar 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant