-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Threaded background worker now is the default
- Loading branch information
Showing
1 changed file
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |