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

Feature request: Delay closing the connection pool on server shutdown #165

Open
lucaslilja opened this issue Mar 15, 2021 · 0 comments
Open
Labels
type: improvement A minor improvement to an existing feature

Comments

@lucaslilja
Copy link

Hi,

I would like to have the option to delay closing the connection pool on server shutdown. This would be used to do database inserts/updates when the server is shutting down:

@EventListener public void onApplicationShutdown(ApplicationShutdownEvent event) { //Do some db operation }
Currently when this is run, the connection pool is already closed.

@sdelamo sdelamo added the type: improvement A minor improvement to an existing feature label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants