Skip to content

This function is one of the worst for database leaks #148

@collectoss-issue-migrator

Description

@collectoss-issue-migrator

Note

Migrated from augurlabs/augur#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    databaseRelated to the unifed data model/schematestingRelated to testingwaitingThis change is waiting for some other changes to land first

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions