Skip to content

Instantly share code, notes, and snippets.

@angelbotto
Last active December 20, 2015 01:49
Show Gist options
  • Save angelbotto/6051549 to your computer and use it in GitHub Desktop.
Save angelbotto/6051549 to your computer and use it in GitHub Desktop.
Unicorn en Heroku

Unicorn en Heroku

Thin, es bueno pero realmente quiero que mis aplicaciones en heroku desplieguen y respondan mucho mas rapido, asi que una pequeña guia de como usar unicorn en heroku con padrino

#agregar
gem 'unicorn'
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
#config/unicorn.rb
worker_processes 3
timeout 30
preload_app true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment