resque-lock 1.1.0
A Resque plugin. If you want only one instance of your job queued at a time, extend it with this module. For example: class UpdateNetworkGraph extend Resque::Jobs::Locked def self.perform(repo_id) heavy_lifting end end
A Resque plugin. If you want only one instance of your job queued at a time, extend it with this module. For example: class UpdateNetworkGraph extend Resque::Jobs::Locked def self.perform(repo_id) heavy_lifting end end