resque-lockbr 1.1.0br
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
Gemfile:
=
instalar:
=
Star
Licenças: