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

ensure worker failures do not count fatal errors during the request #1336

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

withinboredom
Copy link
Collaborator

If a fatal error occurs during script execution (#1332), then the worker will count that towards stopping the entire process to prevent run-away executions.

This PR adds a simple flag that can be used to determine if we crashed inside a request, or inside the worker script itself. If the crash happens during a request, we do not count that and restart the worker asap. For crashes that happen in worker scripts, it still behaves as before.

@withinboredom withinboredom merged commit d0b259d into main Jan 18, 2025
55 checks passed
@withinboredom withinboredom deleted the fix/worker-failure-detection branch January 18, 2025 18:30
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.

3 participants