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-26302: Avoid long-lived connections in Database #482

Merged
merged 3 commits into from
Mar 2, 2021

Commits on Mar 2, 2021

  1. Avoid long-lived connections in Database (DM-26302)

    Database connections are now short-lived by default, they are created
    either for the duration of a query or transaction. Additionally `session()`
    context can be used for persistent connection that does not start
    transaction, this is needed to manage lifetime of temporary tables.
    Re-enabled connection pool use in database engines, this will need special
    care in fork-based mutiprocessing.
    andy-slac committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    6de5d34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7a6128 View commit details
    Browse the repository at this point in the history
  3. Apply suggestions from code review

    Co-authored-by: Jim Bosch <jbosch@astro.princeton.edu>
    andy-slac and TallJimbo committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    683ceb2 View commit details
    Browse the repository at this point in the history