lib/caploy/templates/unicorn/unicorn.rb.erb in caploy-0.2.5 vs lib/caploy/templates/unicorn/unicorn.rb.erb in caploy-1.0.0
- old
+ new
@@ -2,11 +2,11 @@
pid "<%= unicorn_pid %>"
stderr_path "<%= unicorn_std_log %>"
stdout_path "<%= unicorn_err_log %>"
listen "/tmp/socket.<%= application %>_<%= stage %>.sock", :backlog => <%= unicorn_listen_backlog %>
-worker_processes <%= unicorn_worker_processes %>
+worker_processes <%= unicorn_worker_count %>
timeout <%= unicorn_timeout %>
preload_app true
before_fork do |server, worker|
@@ -43,6 +43,6 @@
<% else %>
config.redis = { :size => <%= sidekiq_redis_count %> }
<% end %>
end
end
-end
\ No newline at end of file
+end