Skip to content

Commit

Permalink
Fixed WARNING: Detected running cluster mode with 1 worker
Browse files Browse the repository at this point in the history
commit-id:19edb9db
  • Loading branch information
brand-it committed Apr 12, 2024
1 parent 54a6ed0 commit ee972d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
min_threads_count = ENV.fetch('RAILS_MIN_THREADS') { max_threads_count }
threads min_threads_count, max_threads_count

workers 1 # Won't work on multiple process because it shares memory for webhooks
workers 0 # Won't work on multiple process because it shares memory for webhooks

# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
#
Expand Down

0 comments on commit ee972d4

Please sign in to comment.