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

[1.x] Fixes call terminate() on null when worker is not booted #445

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

nunomaduro
Copy link
Member

When using Roadrunner, users may use http.pool.supervisor.ttl configuration option to restart workers every X seconds.

This pull request fixes an issue when workers are being restarted without ever been booted - this happens a worker receives 0 requests.

Fixes #443

@taylorotwell taylorotwell merged commit 21bf8b3 into 1.x Dec 17, 2021
@taylorotwell taylorotwell deleted the fix/calling-null-on-non-booted-worker branch December 17, 2021 21:40
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.

Error if http.pool.supervisor.ttl was set
2 participants