Skip to content

Close DB pool connections that we open - #255

Open
cpeel wants to merge 1 commit into
gutenbergtools:masterfrom
cpeel:close-conns
Open

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

Conversation

@cpeel

@cpeel cpeel commented Jul 30, 2026

Copy link
Copy Markdown
Member

Explicitly close DB pool connections that we open which returns the connection to the pool -- this is the recommended practice instead of relying on the implicit closing by the garbage collector.

Disclaimer: this is untested.

@cpeel
cpeel requested a review from eshellman July 30, 2026 22:18
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