lib/rocket_job/jobs/performance_job.rb in rocketjob-5.4.1 vs lib/rocket_job/jobs/performance_job.rb in rocketjob-6.0.0.rc1
- old
+ new
@@ -4,11 +4,13 @@
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
+
+ input_category slice_size: 100
+ output_category
# No operation, just return the supplied line (record)
def perform(line)
line
end