travis-api/config/unicorn.rb
2012-12-05 18:19:23 +01:00

5 lines
248 B
Ruby

# http://michaelvanrooijen.com/articles/2011/06/01-more-concurrency-on-a-single-heroku-dyno-with-the-new-celadon-cedar-stack/
worker_processes 4 # amount of unicorn workers to spin up
timeout 30 # restarts workers that hang for 15 seconds