Skip to content

Added pool_recycle setting on db connection#46

Merged
zomglings merged 2 commits intomainfrom
db-pool-recycle
Aug 19, 2022
Merged

Added pool_recycle setting on db connection#46
zomglings merged 2 commits intomainfrom
db-pool-recycle

Conversation

@zomglings
Copy link
Copy Markdown
Member

Changes

Adds a setting that tells SQLAlchemy when to recycle pools: https://docs.sqlalchemy.org/en/14/core/pooling.html#setting-pool-recycle

How to test these changes?

Tested manually on development environment.

Related issues

Copy link
Copy Markdown
Collaborator

@kompotkot kompotkot left a comment

Choose a reason for hiding this comment

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

lg

@zomglings zomglings merged commit 1621798 into main Aug 19, 2022
@zomglings zomglings deleted the db-pool-recycle branch August 19, 2022 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants