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

[SpringBoot] Add graceful shutdown wait time as property #2026

Open
Quinn-With-Two-Ns opened this issue Apr 5, 2024 · 0 comments
Open

[SpringBoot] Add graceful shutdown wait time as property #2026

Quinn-With-Two-Ns opened this issue Apr 5, 2024 · 0 comments
Labels
enhancement User experience

Comments

@Quinn-With-Two-Ns
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently when the worker factory is shutdown by Springboot on close there is no wait to for the shutdown to finish. This can cause the application to close before all inflight tasks are finished.

Describe the solution you'd like
Add a property that will control how long the workerfactory waits before continuing shutdown.

Describe alternatives you've considered
Users can manually work around this by adding a hook to the context close event and manually shutting down the factory and waiting.

Additional context

@Quinn-With-Two-Ns Quinn-With-Two-Ns added the enhancement User experience label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement User experience
Projects
None yet
Development

No branches or pull requests

1 participant