From 04d847afe0d9d46862fd52f530022e244289103a Mon Sep 17 00:00:00 2001 From: Hakan Ensari Date: Wed, 2 Sep 2015 22:32:25 +0100 Subject: [PATCH] Fix worker_processes --- config/unicorn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/unicorn.rb b/config/unicorn.rb index 4af97ea..cddca0f 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -1,5 +1,5 @@ preload_app true -worker_processes ENV['WORKER_PROCESSES'] || 4 +worker_processes (ENV['WORKER_PROCESSES'] || 4).to_i timeout 10 before_fork do |_, _|