Resque on Heroku cedar stack Worker count still exists after the worker terminate

╄→гoц情女王★ 提交于 2019-12-04 07:28:59

I just found out the problem, this happend when passing ENV on the rake task. like when passing QUEUE='*'.

Here is the issue more complete https://github.com/defunkt/resque/issues/319#issuecomment-1789239

and the issue are still in discus at https://github.com/defunkt/resque/issues/368

any my temporary patch, that make resque only run all que.

https://github.com/yulrizka/resque

ahmy,

Based on your solution, I came up with one that doesn't involve forking resque.

I put this in resque.rake:

task "resque:setup" => :environment do
  ENV['QUEUE'] = '*'
end

and put this in the Profile:

worker:  bundle exec rake resque:work

and put this in the Gemfile:

gem 'resque', :git => 'git://github.com/defunkt/resque.git'
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!