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

fix: only drain workers on graceful shutdown. #1405

Merged
merged 3 commits into from
Feb 28, 2025

Conversation

AlliBalliBaba
Copy link
Collaborator

@AlliBalliBaba AlliBalliBaba commented Feb 22, 2025

Should fix #1296

This PR changes the graceful shutdown to just drain all running worker scripts. It's faster and easier to just let the OS clean up all the remaining memory.

@AlliBalliBaba AlliBalliBaba changed the title Only drains workers on shutdown. fix: only drain workers on graceful shutdown. Feb 22, 2025
@AlliBalliBaba
Copy link
Collaborator Author

Graceful shutdown was originally introduces in #1242 to fix #1226

@dunglas dunglas merged commit 3ba4e25 into main Feb 28, 2025
55 checks passed
@dunglas dunglas deleted the fix/only-drains-workers-on-shutdown branch February 28, 2025 11:10
@dunglas
Copy link
Owner

dunglas commented Feb 28, 2025

Thanks!

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

Successfully merging this pull request may close these issues.

Shutting down indefinitely when http extension is loaded
3 participants