Module: ResqueSerial::Extender
- Defined in:
- lib/resque-serial/extender.rb
Defined Under Namespace
Modules: ClassMethods
Classes: SyncProxy
Instance Method Summary
collapse
Instance Method Details
#delay(options = {}) ⇒ Object
19
20
21
|
# File 'lib/resque-serial/extender.rb', line 19
def delay(options = {})
SyncProxy.new self, options[:queue] || self.queue, options[:async]
end
|
#delay_size(queue = nil) ⇒ Object
23
24
25
|
# File 'lib/resque-serial/extender.rb', line 23
def delay_size(queue = nil)
SyncJob.size_of(queue || self.queue)
end
|