Use threaded workers in the chef production Procfile

Dominik Sander лет %!s(int64=10): %!d(string=назад)
Родитель
Сommit
ec0ec300c5
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      deployment/site-cookbooks/huginn_production/files/default/Procfile

+ 1 - 3
deployment/site-cookbooks/huginn_production/files/default/Procfile

@@ -1,4 +1,2 @@
1 1
 web: sudo bundle exec unicorn_rails -c config/unicorn.rb -E production
2
-schedule: sudo RAILS_ENV=production bundle exec rails runner bin/schedule.rb
3
-twitter: sudo RAILS_ENV=production bundle exec rails runner bin/twitter_stream.rb
4
-dj: sudo RAILS_ENV=production bundle exec script/delayed_job run
2
+jobs: sudo RAILS_ENV=production bundle exec rails runner bin/threaded.rb