Skip to content

Close connections asyncronously #127

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

Merged
merged 3 commits into from
Apr 24, 2025
Merged

Conversation

rPraml
Copy link
Collaborator

@rPraml rPraml commented Apr 14, 2025

Closing a connection may block (see #126)
this PR introduces a backgroundexecutor, which performs the (relative long running) close tasks in a separate thread, so that they are not blocking the pool

@rbygrave rbygrave changed the title Close connections asyncroniously Close connections asyncronously Apr 24, 2025
@rbygrave
Copy link
Member

Augmented this PR with - #134

@rbygrave rbygrave merged commit 928389b into ebean-orm:master Apr 24, 2025
1 check passed
@rbygrave rbygrave added this to the 9.7 milestone Apr 24, 2025
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.

2 participants