Skip to content

Revert DB connection reuse to address warning from CI test#130

Closed
mbhutton wants to merge 1 commit intothingsapi:mainfrom
mbhutton:fix/dont-reuse-db-connection
Closed

Revert DB connection reuse to address warning from CI test#130
mbhutton wants to merge 1 commit intothingsapi:mainfrom
mbhutton:fix/dont-reuse-db-connection

Conversation

@mbhutton
Copy link
Contributor

This reverts commit 0ed2f9d, which added DB connection reuse.

That reuse produced a CI test warning ('ResourceWarning: unclosed database'), hence this PR to back it out.

This reverts commit 0ed2f9d.

This addresses a CI test warning: 'ResourceWarning: unclosed database'.
@sonarqubecloud
Copy link

@mbhutton mbhutton marked this pull request as draft February 22, 2025 22:29
@mbhutton mbhutton closed this Feb 22, 2025
@mbhutton
Copy link
Contributor Author

Closing this PR, in favour of a better strategy which allows connection reuse as well as proper cleanup in a way that satisfies the test suite without warnings.

@mbhutton mbhutton deleted the fix/dont-reuse-db-connection branch February 22, 2025 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant