Skip to content

Instantly share code, notes, and snippets.

@3dd13
Created March 13, 2011 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3dd13/868151 to your computer and use it in GitHub Desktop.
Save 3dd13/868151 to your computer and use it in GitHub Desktop.
use workless with Delayed Job Mongoid https://github.com/collectiveidea/delayed_job_mongoid https://github.com/lostboy/workless To use: after setting up delayed_job_mongoid and workless, put this file under initialzers directory
Delayed::Worker.max_attempts = 3
Delayed::Backend::Mongoid::Job.send(:include, Delayed::Workless::Scaler) if defined?(Delayed::Backend::Mongoid::Job)
@sheharyarn
Copy link

Workless still doesn't work. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment