mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 12:14:41 +08:00
Merge pull request #1941 from mpakus/master
Update puma.rb fixed: num_worker(S)
This commit is contained in:
commit
f156f173fd
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user