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

Improve resiliency of mold spawning #82

Merged
merged 2 commits into from
Dec 11, 2023
Merged

Conversation

casperisfine
Copy link
Contributor

Enforce spawn_timeout on molds too. If a mold takes to long to be ready, it is killed like a timing out worker and another one will be spawned later on.

@casperisfine casperisfine force-pushed the test-crashing-mold branch 3 times, most recently from 5a1c58f to 1e62515 Compare December 11, 2023 12:14
This is limited to the mold exiting before it acknowledged to the
monitor process. This allows to sanity check the new process.
@casperisfine casperisfine force-pushed the test-crashing-mold branch 2 times, most recently from bf62a8a to 09c1924 Compare December 11, 2023 12:21
Ensure a mold doesn't take longer than `spawn_timeout` to be ready.

If it get stuck for some reason we kill it and another one will be
spawned later.
@casperisfine casperisfine merged commit 53a6c45 into master Dec 11, 2023
10 checks passed
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.

2 participants