Sha256: b8b1ef9014a310384270de004f9b6aa3e7fc4e69ae665c6e6c5d7a93fabf81ef

Contents?: true

Size: 325 Bytes

Versions: 63

Compression:

Stored size: 325 Bytes

Contents

require 'sidekiq'

require_relative 'jobs/execute_test_run'
require_relative 'jobs/resume_test_run'

module Inferno
  module Jobs
    def self.perform(job_klass, *params)
      if Application['async_jobs']
        job_klass.perform_async(*params)
      else
        job_klass.new.perform(*params)
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
inferno_core-0.4.22 lib/inferno/jobs.rb
inferno_core-0.4.21 lib/inferno/jobs.rb
inferno_core-0.4.20 lib/inferno/jobs.rb
inferno_core-0.4.19 lib/inferno/jobs.rb
inferno_core-0.4.18 lib/inferno/jobs.rb
inferno_core-0.4.17 lib/inferno/jobs.rb
inferno_core-0.4.16 lib/inferno/jobs.rb
inferno_core-0.4.15 lib/inferno/jobs.rb
inferno_core-0.4.14 lib/inferno/jobs.rb
inferno_core-0.4.13 lib/inferno/jobs.rb
inferno_core-0.4.12 lib/inferno/jobs.rb
inferno_core-0.4.11 lib/inferno/jobs.rb
inferno_core-0.4.10 lib/inferno/jobs.rb
inferno_core-0.4.9 lib/inferno/jobs.rb
inferno_core-0.4.8 lib/inferno/jobs.rb
inferno_core-0.4.7 lib/inferno/jobs.rb
inferno_core-0.4.7.pre lib/inferno/jobs.rb
inferno_core-0.4.6 lib/inferno/jobs.rb
inferno_core-0.4.5 lib/inferno/jobs.rb
inferno_core-0.4.4 lib/inferno/jobs.rb