lib/rocket_job/batch/performance.rb in rocketjob-5.0.0 vs lib/rocket_job/batch/performance.rb in rocketjob-5.1.0
- old
+ new
@@ -21,10 +21,10 @@
count_running_workers
puts "Loading job with #{count} records/lines"
args = {log_level: :warn, slice_size: slice_size}
- if defined?(::RocketJob::Enterprise)
+ if defined?(::RocketJob)
args[:compress] = compress
args[:encrypt] = encrypt
end
job = RocketJob::Jobs::PerformanceJob.new(args)
job.upload do |writer|