Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodically purge disposals #18

Open
mxgrey opened this issue Aug 13, 2024 · 0 comments
Open

Periodically purge disposals #18

mxgrey opened this issue Aug 13, 2024 · 0 comments

Comments

@mxgrey
Copy link
Contributor

mxgrey commented Aug 13, 2024

For very long-running tasks it's possible that disposal information may pile up arbitrarily high without being helpful. This could especially be a problem if a workflow is used as the main loop of an application.

We should provide a way for disposals to be periodically purged even while a workflow session is still active, especially for disposals that are very old or whose nodes have been revisited.

Perhaps we could choose to only retain the latest disposal of a node per session, or put a cap on how many disposals are stored per node per session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant