Class: GovernorBackground::Resque::Performer

Inherits:
Object
  • Object
show all
Defined in:
lib/governor_background/resque/performer.rb

Overview

Used when the resque-status gem hasn’t been installed. If resque-status hasn’t been installed, jobs won’t be added to the JobManager, as there won’t be any way to track the state, and so progress will not be reported.

Class Method Summary collapse

Class Method Details

.perform(job_name, *arguments) ⇒ Object



10
11
12
# File 'lib/governor_background/resque/performer.rb', line 10

def self.perform(job_name, *arguments)
  GovernorBackground.retrieve(job_name).call(*arguments)
end