Sha256: a3f70deec1e665d0aa2d95516b72b602e64bec422231e1f40c727a20a6087846
Contents?: true
Size: 459 Bytes
Versions: 1
Compression:
Stored size: 459 Bytes
Contents
module Resque module Plugins module RateLimited class BaseApiQueue extend Resque::Plugins::RateLimited def self.perform(klass, *params) # find_class(klass).perform(*params) Resque.enqueue_to @queue, klass, *params # Enqueue so that ResqueSolo can take effect end def self.enqueue(klass, *params) rate_limited_enqueue(self, klass.to_s, *params) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
resque-rate_limited-1.1.0 | lib/resque/plugins/rate_limited/apis/base_api_queue.rb |