Skip to content

Commit

Permalink
Merge pull request #5870 from elasticspoon/feat/drop-max-thread-count
Browse files Browse the repository at this point in the history
feat: change Puma thread count from 5 to 3
  • Loading branch information
compwron authored Jul 3, 2024
2 parents 3249f20 + 86943ac commit b010c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default: &default
adapter: postgresql
encoding: unicode
username: <%= ENV.fetch("POSTGRES_USER") { } %>
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 3 } %>
port: <%= ENV.fetch("POSTGRES_PORT", "5432") %>
password: <%= ENV.fetch("POSTGRES_PASSWORD") { 'password' } %>

Expand Down

0 comments on commit b010c18

Please sign in to comment.