lacre.repositories: Configure SQLAlchemy connection pooling #136
No reviewers
Labels
No Label
ANSIBLE
BUG
CODE
DEVELOPMENT
DOCUMENTATION
FEEDBACK
FIX
HOWTOs
IDEA
INFRA
ISSUE
MAILSERVER
TESTS
To-Be-Reviewed
WEB
WEBSITE
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Disroot/gpg-lacre#136
Loading…
Reference in New Issue
No description provided.
Delete Branch "connection-pooling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Provide 3 new configuration parameters in database section:
max_connection_age --- number of seconds before an idle connection is
"recycled", i.e. replaced with a new one;
pool_size --- number of simultaneous connections kept in the pool;
max_overflow --- maximum number of simultaneous connections we could make to
the database.
Update sample config, including links to documentation.