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

configurable cluster worker shutdown timeout #16

Open
azjezz opened this issue May 27, 2024 · 1 comment
Open

configurable cluster worker shutdown timeout #16

azjezz opened this issue May 27, 2024 · 1 comment

Comments

@azjezz
Copy link

azjezz commented May 27, 2024

currently, the context cluster worker has a hardcoded 5 seconds timeout on shutdown, i believe this aspect of the cluster should be configurable.

In the case of neu, the worker dispatches events when shutting down 1 2 3, allowing services to do clean up, which might take more than 5 secodns

@bwoebi
Copy link
Member

bwoebi commented Mar 22, 2025

Also, the ping-watcher and pong-replier in the Cluster class stops once the null is received. So, if the timeout is increased, as long as log messages are sent, it works fine.
Once for 10 seconds no log message is logged, it's thus forcefully closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants