Skip to content

Commit

Permalink
Threaded background worker now is the default
Browse files Browse the repository at this point in the history
  • Loading branch information
dsander committed Jun 1, 2014
1 parent a505a1c commit df90322
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions Procfile
@@ -1,15 +1,13 @@
# Procfile for development:
# Procfile for development using the new threaded worker (scheduler, twitter stream and delayed job)
web: bundle exec rails server
schedule: bundle exec rails runner bin/schedule.rb
twitter: bundle exec rails runner bin/twitter_stream.rb
dj: bundle exec script/delayed_job run

# Procfile for the exprimental threaded scheduler, twitter stream and delayed job
#web: bundle exec rails server
#jobs: bundle exec rails runner bin/threaded.rb
jobs: bundle exec rails runner bin/threaded.rb

# Possible Profile configuration for production:
# web: bundle exec unicorn -c config/unicorn/production.rb
# schedule: bundle exec rails runner bin/schedule.rb
# twitter: bundle exec rails runner bin/twitter_stream.rb
# dj: bundle exec script/delayed_job run
# jobs: bundle exec rails runner bin/threaded.rb

# Old version with seperate processes (use this if you have issues with the threaded version)
#web: bundle exec rails server
#schedule: bundle exec rails runner bin/schedule.rb
#twitter: bundle exec rails runner bin/twitter_stream.rb
#dj: bundle exec script/delayed_job run

0 comments on commit df90322

Please sign in to comment.