Skip to content

Commit

Permalink
Revert "Enable puma clustered (#654)" (#659)
Browse files Browse the repository at this point in the history
This reverts commit 6c63546.

We don't know for sure that we need these speed/latency gains,
and maintenance bandwidth is low for the project.

We don't want to potentially have to track down bugs,
or undo any damage done, so revert this change for now.
  • Loading branch information
DeeDeeG committed Mar 10, 2021
1 parent 8cfdd13 commit 59bfd6a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion config/puma.rb
Expand Up @@ -21,7 +21,14 @@
# Workers do not work on JRuby or Windows (both of which do not support
# processes).
#
workers ENV.fetch("WEB_CONCURRENCY") { 3 }
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }

# Use the `preload_app!` method when specifying a `workers` number.
# This directive tells Puma to first boot the application and load code
# before forking the application. This takes advantage of Copy On Write
# process behavior so workers use less memory.
#
# preload_app!

# Allow puma to be restarted by `rails restart` command.
plugin :tmp_restart

0 comments on commit 59bfd6a

Please sign in to comment.