Skip to content

feat: Add cache to manager for ids #283

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

Open
Art3miX opened this issue Mar 25, 2025 · 0 comments
Open

feat: Add cache to manager for ids #283

Art3miX opened this issue Mar 25, 2025 · 0 comments

Comments

@Art3miX
Copy link
Contributor

Art3miX commented Mar 25, 2025

When we instantiate a new program, we reserve an id, this causes an issue when instantiation fails, this id cannot be used anymore.

One way to solve this is by caching the last used id, and delete it if instantiation was successful, this will allow us to read from cache (can be a simple file) and check if we can save a program into this id (check its the id of the manager in use).

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

No branches or pull requests

1 participant