-
Notifications
You must be signed in to change notification settings - Fork 486
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
Concurrency count is not updated immediately after closing a sandbox. #283
Comments
Also, adding a delay after sandbox.close helps, but only a long one. For this example, ten seconds seems to work. |
Thank you for submitting the issue @jamesmurdza, this looks like a bug related to the fact that when you call I think we'll need to rethink how we're handling the |
Agreed. For now, I’ll have to add a delay of 15 seconds before starting the next task. |
How we're handling this currently: |
Hey @jamesmurdza, we have an experimental stateless SDK in the works that has a kill method It’s stateless in a sense that you don’t need to manage Sandbox’s lifecycle in your code. Would love to learn if it would be helpful to you and any other feedback. |
The |
Describe the bug
When closing and creating sandboxes quickly, the concurrency limit will be reached, the count is not updated right away.
To Reproduce
Expected behavior
This should not give an error, because only 15 sandboxes are run concurrently.
Terminal commands & output
The text was updated successfully, but these errors were encountered: