class Sidekiq::Launcher

Attributes

cron_poller[R]

Add cron poller to launcher

Public Class Methods

new(options) click to toggle source

add cron poller and execute normal initialize of Sidekiq launcher

# File lib/sidekiq/cron/launcher.rb, line 21
def initialize(options)
  @cron_poller = Sidekiq::Cron::Poller.new
  old_initialize options
end
Also aliased as: old_initialize

Public Instance Methods

old_initialize(options)

remember old initialize

Alias for: new
old_quiet()

remember old quiet

Alias for: quiet
old_run()

remember old run

Alias for: run
old_stop()

remember old stop

Alias for: stop
quiet() click to toggle source

execute normal quiet of launcher and quiet cron poller

# File lib/sidekiq/cron/launcher.rb, line 39
def quiet
  cron_poller.terminate
  old_quiet
end
Also aliased as: old_quiet
run() click to toggle source

execute normal run of launcher and run cron poller

# File lib/sidekiq/cron/launcher.rb, line 30
def run
  old_run
  cron_poller.start
end
Also aliased as: old_run
stop() click to toggle source

execute normal stop of launcher and stop cron poller

# File lib/sidekiq/cron/launcher.rb, line 48
def stop
  cron_poller.terminate
  old_stop
end
Also aliased as: old_stop