lib/rocket_job/batch/throttle.rb in rocketjob-5.2.0 vs lib/rocket_job/batch/throttle.rb in rocketjob-5.3.0

- old
+ new

@@ -4,10 +4,10 @@ module Batch # Rocket Job Batch Throttling Framework. # # Example: # # Do not run any slices for this job when the MySQL slave delay exceeds 5 minutes. - # class MyJob < RocketJob + # class MyJob < RocketJob::Job # include RocketJob::Batch # # # Define a custom mysql throttle # # Prevents all slices from this job from running on the current server. # define_batch_throttle :mysql_throttle_exceeded?