Skip to content

Commit

Permalink
Upgrade puma to latest version 5.x and enable clustered mode
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoocasali committed Oct 7, 2020
1 parent 2cd6d56 commit 81bad55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ GEM
kaminari
grape-swagger (1.0.0)
grape (~> 1.3.0)
haml (5.1.2)
haml (5.2.0)
temple (>= 0.8.0)
tilt
has_scope (0.7.2)
Expand Down Expand Up @@ -248,7 +248,7 @@ GEM
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (4.0.3)
puma (4.3.5)
puma (5.0.2)
nio4r (~> 2.0)
rack (2.2.3)
rack-accept (0.4.5)
Expand Down
2 changes: 1 addition & 1 deletion config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Workers do not work on JRuby or Windows (both of which do not support
# processes).
#
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
workers ENV.fetch("WEB_CONCURRENCY") { 3 }

# Use the `preload_app!` method when specifying a `workers` number.
# This directive tells Puma to first boot the application and load code
Expand Down

0 comments on commit 81bad55

Please sign in to comment.