Sha256: b4af9b897b14db318a949d7cdb500f2c82a18ffaf90ef68fb04c82e083c44a21

Contents?: true

Size: 462 Bytes

Versions: 12

Compression:

Stored size: 462 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.destroy_on_complete = false

      input_category slice_size: 100
      output_category

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rocketjob-6.3.1 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.3.0 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.2.0 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.1.1 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.1.0 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.0.3 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.0.2 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.0.1 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.0.0 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.0.0.rc3 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.0.0.rc2 lib/rocket_job/jobs/performance_job.rb
rocketjob-6.0.0.rc1 lib/rocket_job/jobs/performance_job.rb