Adjust and investigate database pool settings #2377
Labels
investigate
Tickets related to work that needs investigation
maintenance
Ticket related to maintenance that needs to be done
What maintenance needs to be done?
RAILS_MAX_THREADS
environment variable to set thepool
setting.timeout
setting to see if it is appropriate.Level of urgency
Why is this maintenance needed?
We have been experiencing timeout errors (see #1566). This may be related, and even if it's not, it's good to make sure these settings are appropriate.
Acceptance criteria
RAILS_MAX_THREADS
environment variable on the boxes using princeton ansibleRAILS_MAX_THREADS
environment variable to determine the size of the database connection pool for prod, staging, and qa.timeout
setting to make sure it is appropriate for our environment and postgres configuration.Additional information
The text was updated successfully, but these errors were encountered: