Skip to content

Correctly check if a connection returned to a mobc pool is still usable#290

Merged
weiznich merged 1 commit into
mainfrom
fix/mobc_check
Jun 5, 2026
Merged

Correctly check if a connection returned to a mobc pool is still usable#290
weiznich merged 1 commit into
mainfrom
fix/mobc_check

Conversation

@weiznich

@weiznich weiznich commented Jun 5, 2026

Copy link
Copy Markdown
Member

This commit adds an additional check to the mobc manager implementation to check if the connection is still valid if it's returned to the pool. This checks for open transactions and if we are currently panicing. This check mirrors the checks we do for the other pool implementations as well. For some reason it was missing for mobc.

This commit adds an additional check to the mobc manager implementation
to check if the connection is still valid if it's returned to the pool.
This checks for open transactions and if we are currently panicing. This
check mirrors the checks we do for the other pool implementations as
well. For some reason it was missing for mobc.
@weiznich
weiznich merged commit 0cd25a2 into main Jun 5, 2026
47 of 48 checks passed
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.

1 participant