Skip to content

Commit a95529b

Browse files
author
“Benjamin
committed
Fixed runtime error in Unicorn config when falling back to default number of workers.
1 parent 2f4cc3d commit a95529b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/unicorn.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# set path to app that will be used to configure unicorn,
22
# note the trailing slash in this example
3-
worker_processes ENV['WEB_CONCURRENCY'].to_i || 1
3+
worker_processes (ENV['WEB_CONCURRENCY'] || 1).to_i
44
timeout 30

0 commit comments

Comments
 (0)