-
Notifications
You must be signed in to change notification settings - Fork 495
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
Support for Graceful Shutdown in @SchedulerLock #1932
Comments
Hi, can you please share the whole exception stack trace? |
Sorry for the confusion earlier, the full stack trace is below.
|
Hi, as you can see from the stack-trace, ShedLock tried to unlock the lock, but the thread was interrupted (most likely due to the shutdown). There is not much we can do. |
Thank you for your response. |
You can try the trick described here |
Is your feature request related to a problem? Please describe.
When utilizing @SchedulerLock, we registered TaskScheduler as a Spring Bean and set setAwaitTerminationSeconds.
Describe the solution you'd like
It would be nice if @SchedulerLock supported graceful shtudown.
Or if there are other alternatives I'm missing, I'd love to hear about them.
Additional context
The text was updated successfully, but these errors were encountered: