From a04e4f388b4df32a02cf6437eaaa58beaa4da035 Mon Sep 17 00:00:00 2001 From: "Ibragimov \"MpaK\" Renat" Date: Thu, 13 Feb 2014 11:08:27 +0700 Subject: [PATCH] Update puma.rb fixed: num_worker(S) --- config/puma.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"