mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Increase pool size to 15 permanent connections
At the same time, decrease the number of workers from 5 to 4. Effect on max db connections will be the same - although with a higher "resting" number of connections. Before: 12 (instances) * 5 (workers) * 20 (10 permanent + 10 overflow) = 1200 After: 12 (instances) * 4 (workers) * 25 (15 permanent + 10 overflow) = 1200
This commit is contained in:
@@ -9,7 +9,7 @@ env:
|
||||
CW_APP_NAME: api
|
||||
# required by cf run-task
|
||||
FLASK_APP: application.py
|
||||
SQLALCHEMY_POOL_SIZE: 10
|
||||
SQLALCHEMY_POOL_SIZE: 15
|
||||
|
||||
# Credentials variables
|
||||
ADMIN_BASE_URL: null
|
||||
|
||||
Reference in New Issue
Block a user