Database connection leaks
Open
database
testing
waiting
- Dominant language
- Python
- Stars
- 13
- Forks
- 17
- Avg merge
- 6h 59m
- Merged PRs (30d)
- 1
Description
> [!NOTE]
> Migrated from [augurlabs/augur#3452](https://github.com/augurlabs/augur/issues/3452)
> Originally opened by `@MoralCode` on 2025-12-10
---
https://github.com/chaoss/augur/blob/34f5644e2738c91d2f6b2a4ce81035fa201d9094/augur/tasks/init/__init__.py#L7
every time this is called, a DB connection is opened that never gets closed. This should not be happening.
This has been looked at by several maintainers several times
We need tests and stuff to confirm this
(previous issue title: This function is one of the worst for database leaks)
Contributor guide
Assessment
This issue has not been assessed yet.