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

Mitigate proliferation of idle connections: SqlAlchemy Con --> Engine #729

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

joeflack4
Copy link
Member

Changes

Connection to Engine

  • Update: Usage of SqlAlchemy Engine instead of Connection object in order to prevent proliferation of idle connections.

- Update: Usage of SqlAlchemy Engine instead of Connection object in order to prevent proliferation of idle connections.
@joeflack4 joeflack4 requested a review from Sigfried March 13, 2024 21:09
@joeflack4 joeflack4 marked this pull request as draft March 13, 2024 21:09
@joeflack4 joeflack4 added refactor New features may depend on refactor issues being handled first. Refactors might need own milestones. performance Increase speed / performance bug Something isn't working labels Mar 13, 2024
@joeflack4 joeflack4 linked an issue Mar 13, 2024 that may be closed by this pull request
}


def get_engine(isolation_level='AUTOCOMMIT', schema: str = SCHEMA, local=False):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get_engine()

@Sigfried Gonna just leave the work we did in this open PR. This is a low priority issue now that we've resolved the phone call in the house and also got an action that closes extra idle connections.

@joeflack4 joeflack4 added this to the Unplanned milestone Apr 23, 2024
@joeflack4 joeflack4 changed the title SqlAlchemy Con --> Engine Mitigate proliferation of idle connections: SqlAlchemy Con --> Engine Apr 23, 2024
@joeflack4 joeflack4 force-pushed the develop branch 2 times, most recently from d74edbe to 155fef2 Compare April 26, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance Increase speed / performance refactor New features may depend on refactor issues being handled first. Refactors might need own milestones.
Projects
Status: 3. Backlog
Development

Successfully merging this pull request may close these issues.

Mitigate proliferation of idle connections
2 participants