diff --git a/config/puma.rb b/config/puma.rb index d14ae5dd6ca..265960d9924 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,6 +1,6 @@ # First, you need to change these below to your situation. APP_ROOT = '/home/discourse/discourse' -num_worker=ENV["NUM_WEBS"].to_i > 0 ? ENV["NUM_WEBS"].to_i : 4 +num_workers = ENV["NUM_WEBS"].to_i > 0 ? ENV["NUM_WEBS"].to_i : 4 # Second, you can choose how many threads that you are going to run at same time. workers "#{num_workers}"