Skip to content

Close DB pool connections that we open - #60

Closed
cpeel wants to merge 1 commit into
masterfrom
close-conns
Closed

Close DB pool connections that we open#60
cpeel wants to merge 1 commit into
masterfrom
close-conns

Conversation

@cpeel

@cpeel cpeel commented Jul 30, 2026

Copy link
Copy Markdown
Member

Explicitly close connections that we open to return them to the pool when we're done with them.

Fixes #59

Note: this is untested

@cpeel
cpeel requested a review from eshellman July 30, 2026 22:27
@eshellman

Copy link
Copy Markdown
Contributor

fails tests

@eshellman

Copy link
Copy Markdown
Contributor

Libgutenberg is used with a NullPool in Ebookmaker and EbookConverter. So connections automatically close in normal usage, so explicit close() often fails.

@eshellman eshellman closed this Aug 3, 2026
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.

DB connections need to be explicitly closed (returned to the pool)

2 participants