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

Add support for cache cleanup #32

Open
cipriancraciun opened this issue Oct 10, 2021 · 0 comments
Open

Add support for cache cleanup #32

cipriancraciun opened this issue Oct 10, 2021 · 0 comments
Assignees

Comments

@cipriancraciun
Copy link
Member

At the moment the z-run cache (used to hold compiled libraries) is not cleaned automatically and it tends to build-up.

Add support for either automatic or on-demand cleanup of cache files.

Care must be taken so that currently active z-run instances aren't left without their in-use library. Thus in addition to the cleanup, we should implement a trivial mark-hot (for example at startup if older than a minute) and then garbage-collect the remaining files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant