resque-lock 0.1.1
A Resque plugin. If you want only one instance of your job running 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 running 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