Module: Sidekiq::Pauzer::Patches::Queue

Defined in:
lib/sidekiq/pauzer/patches/queue.rb

Instance Method Summary collapse

Instance Method Details

#pause!Object



15
16
17
18
# File 'lib/sidekiq/pauzer/patches/queue.rb', line 15

def pause!
  Pauzer.pause!(name)
  nil
end

#paused?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/sidekiq/pauzer/patches/queue.rb', line 11

def paused?
  Pauzer.paused?(name)
end

#unpause!Object



20
21
22
23
# File 'lib/sidekiq/pauzer/patches/queue.rb', line 20

def unpause!
  Pauzer.unpause!(name)
  nil
end