lacre.repositories: Configure SQLAlchemy connection pooling #136
No reviewers
Labels
No labels
ANSIBLE
BUG
CODE
DEVELOPMENT
DOCUMENTATION
FEEDBACK
FIX
HOWTOs
IDEA
INFRA
ISSUE
MAILSERVER
TESTS
To-Be-Reviewed
WEB
WEBSITE
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Disroot/gpg-lacre#136
Loading…
Reference in a 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.