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

run endpoint config warmup before starting socket #5985

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SteffenDE
Copy link
Contributor

There was a slight time window in between starting the socket listener and actually setting the config in persistent_term that could rely in a crash on incoming requests. This commit fixes this by calling the warmup function as a child in the endpoint supervisor, after the config is started, but before the socket listener is started.

Fixes #5981.

There was a slight time window in between starting the socket listener
and actually setting the config in persistent_term that could rely in a
crash on incoming requests. This commit fixes this by calling the warmup
function as a child in the endpoint supervisor, after the config is started,
but before the socket listener is started.

Fixes #5981.
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.

Endpoint: race condition with warmup/1
2 participants