Sha256: b217457d087a06d36bd1133acf997821f8a87a3516a341d87def809a6b5daade

Contents?: true

Size: 439 Bytes

Versions: 14

Compression:

Stored size: 439 Bytes

Contents

module RocketJob
  module Jobs
    class PerformanceJob < RocketJob::Job
      include RocketJob::Batch

      # Define the job's default attributes
      self.description         = 'Performance Test'
      self.priority            = 5
      self.slice_size          = 100
      self.destroy_on_complete = false

      # No operation, just return the supplied line (record)
      def perform(line)
        line
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rocketjob-5.1.1 lib/rocket_job/jobs/performance_job.rb
rocketjob-5.1.0 lib/rocket_job/jobs/performance_job.rb
rocketjob-5.0.0 lib/rocket_job/jobs/performance_job.rb
rocketjob-5.0.0.rc1 lib/rocket_job/jobs/performance_job.rb
rocketjob-5.0.0.beta4 lib/rocket_job/jobs/performance_job.rb
rocketjob-5.0.0.beta3 lib/rocket_job/jobs/performance_job.rb
rocketjob-5.0.0.beta2 lib/rocket_job/jobs/performance_job.rb
rocketjob-5.0.0.beta lib/rocket_job/jobs/performance_job.rb
rocketjob-4.3.0.beta2 lib/rocket_job/jobs/performance_job.rb
rocketjob-4.3.0.beta lib/rocket_job/jobs/performance_job.rb
rocketjob-4.2.0 lib/rocket_job/jobs/performance_job.rb
rocketjob-4.1.1 lib/rocket_job/jobs/performance_job.rb
rocketjob-4.1.0 lib/rocket_job/jobs/performance_job.rb
rocketjob-4.0.0 lib/rocket_job/jobs/performance_job.rb