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

persist studio container #343

Open
themightychris opened this issue May 30, 2024 · 1 comment
Open

persist studio container #343

themightychris opened this issue May 30, 2024 · 1 comment

Comments

@themightychris
Copy link
Member

Create a projection CLI option/env var that is enabled by default that sets a max idle time for studio containers to e.g. 30 minutes.

The studio container would self-assess when its last command finished and kill itself once that timeout elapses. Future projection commands on the host would look for an existing container and re-use if running instead of starting a new one. Studios could be re-used across any command and in parallel so no locking or unique identification should be necessary—any running container that is available should be usable.

@themightychris
Copy link
Member Author

Lens workspace reuse could be a problem with parallel execution—maybe they need to be re-architected to use uniquely-identified temp directories instead anyway

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