Skip to content

Commit

Permalink
Adjust unicorn configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
badosu committed Apr 27, 2015
1 parent be0e34b commit 6dfa136
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ name, see [this script](https://gist.github.com/badosu/ca61b6bfbb198386fe9b).
Run
---

Execute `bin/bs bundle exec unicorn -c unicorn.conf` to run the application
Execute `bin/bs bundle exec unicorn -c config/unicorn.rb` to run the application
locally (without `bundle exec` if you're using gst).

Visit `/communities`.
Expand Down
2 changes: 1 addition & 1 deletion unicorn.conf → config/unicorn.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if ENV["RACK_ENV"] == "production"
worker_processes 3
worker_processes ENV["CONCURRENCY"].to_i || 3
else
worker_processes 1
end

0 comments on commit 6dfa136

Please sign in to comment.