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

Use ScheduledExecutorService for housekeeping tasks for faster shutdown. #231

Merged
merged 2 commits into from
Oct 10, 2021

Conversation

kagkarlsson
Copy link
Owner

@kagkarlsson kagkarlsson commented Oct 9, 2021

For faster shutdown, change from many single-threaded ExecutorServices to one ScheduledExecutorService for util background jobs.

Also, shutdown dueExecutor interruptibly diredctly if it is currently sleeping. Again to achieve faster shutdown.

@kagkarlsson
Copy link
Owner Author

Fixes #228

@kagkarlsson kagkarlsson merged commit 454d0d8 into master Oct 10, 2021
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.

None yet

1 participant