nesquena / backburner

Simple and reliable beanstalkd job queue for ruby
http://nesquena.github.com/backburner
MIT License
428 stars 68 forks source link

upgrading from backburner (0.4.6) #118

Open geoffroymontel opened 8 years ago

geoffroymontel commented 8 years ago

Hello

I'm using backburner through Rails Active Job I tried upgrading from Backburner 0.4.6 to Backburner 1.3 and now the jobs never start now I'm using backburner:threads_on_fork:work with several queues

Is there an upgrade procedure ?

Best

Geoffroy

nesquena commented 8 years ago

Hi Geoffroy,

I would encourage you to stick with 0.4.6 at this time. Unfortunately major changes occurred in the point release which can make the jobs unable to be processed easily and beanstalkd does not make it particularly easy (by design) to iterate and modify existing jobs. You are probably better off sticking with the version that works for you. Sorry I don't have a better answer and sorry for the inconvenience.

geoffroymontel commented 8 years ago

Hello Nathan

Thanks for your quick reply. Backburner 0.4.6 works kinda well except when the database or the beanstalkd server are restarted. In that case, the workers don't recover the connections. I saw in the changelog that things were improved in that matter in the 1.X releases, that's why I wanted to upgrade.

I will keep an eye on the next releases and restart the rails and workers daily in the meantime.

Best