changes to workless #17

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@bellowsj

lostboy,

I've spent a couple of days trying to get your gem to work on my local development environment, OS X Lion. I was having issues with the process ending too quickly and therefore leaving a locked entry in the delayed_job database table. It was working fine on heroku but was not working on my local development machine. I've gone ahead and made a few changes so that it works correctly on both heroku and my local development machine now. These changes are based on how Pedro does autoscaling here: https://github.com/pedro/delayed_job/blob/autoscaling/lib/delayed/manager/local.rb and Phaza autoscaling gem here: https://github.com/phaza/Heroku-Delayed-Job-Autoscale/blob/master/lib/heroku_delayed_job_autoscale.rb.

-Jason

@lostboy
Owner
lostboy commented Feb 18, 2012

Hi bellowsj, sorry for the long delay. I've just released 1.0.1 which supports dj 3 and has better handling of the local scaler. I was going to go with the $exit trick like you suggested but the dj api has changed a little in version 3 so it's no longer workable. Let me know if v1.0.1 of workless works for you.
Lostboy

@lostboy lostboy closed this Feb 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment