Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-38678: Make sure database connection is correctly closed #818

Merged
merged 1 commit into from
Apr 13, 2023

Commits on Apr 13, 2023

  1. Make sure database connection is correctly closed (DM-38678)

    In some context query results caused database connection to stay open until
    all result rows are returned from iterator. This could cause nested
    database connections, which failed for SQLite in SQLAlchemy 2.0 due to
    database being locked. This patch retrieves all rows and closes database
    connection before starting iteration.
    andy-slac committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    4baa283 View commit details
    Browse the repository at this point in the history