Skip to content

Commit

Permalink
Merge branch 'fix-2522' of github.com:pglombardo/PasswordPusher into …
Browse files Browse the repository at this point in the history
…fix-2522
  • Loading branch information
pglombardo committed Sep 23, 2024
2 parents 12160b5 + 6112d96 commit fa91122
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ GEM
retriable (>= 2.0, < 4.a)
google-apis-iamcredentials_v1 (0.21.0)
google-apis-core (>= 0.15.0, < 2.a)
google-apis-storage_v1 (0.44.0)
google-apis-storage_v1 (0.45.0)
google-apis-core (>= 0.15.0, < 2.a)
google-cloud-core (1.7.1)
google-cloud-env (>= 1.0, < 3.a)
Expand Down
4 changes: 2 additions & 2 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

case rails_env
when "production"
require "concurrent-ruby"
workers_count = Integer(ENV.fetch("WEB_CONCURRENCY") { Concurrent.available_processor_count })
# Default to 2 workers. To override, set the WEB_CONCURRENCY environment variable
workers_count = Integer(ENV.fetch("WEB_CONCURRENCY") { 2 })
workers workers_count if workers_count > 1

preload_app!
Expand Down

0 comments on commit fa91122

Please sign in to comment.