mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
When in development, change database pool to add GOOD_JOB_MAX_THREADS to RAILS_MAX_THREADS
This commit is contained in:
parent
4ad1faacc8
commit
121dc107d5
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ development: &development
|
|||
<<: *default
|
||||
database: maybe_ai_development
|
||||
adapter: postgresql
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS", 5).to_i + 1 + 2 + ENV.fetch("GOOD_JOB_MAX_THREADS", 5).to_i %>
|
||||
|
||||
# The specified database role being used to connect to postgres.
|
||||
# To create additional roles in postgres see `$ createuser --help`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue