lib/sidekiq/throttled/configuration.rb in sidekiq-throttled-0.16.1 vs lib/sidekiq/throttled/configuration.rb in sidekiq-throttled-0.16.2

- old
+ new

@@ -19,17 +19,17 @@ end # Instructs throttler to lookup strategies in parent classes, if there's # no own strategy: # - # class Foo - # include Sidekiq::Worker - # include Sidekiq::Worker::Throttled + # class FooJob + # include Sidekiq::Job + # include Sidekiq::Throttled::Job # # sidekiq_throttle :concurrency => { :limit => 42 } # end # - # class Bar < Foo + # class BarJob < FooJob # end # # By default in the example above, `Bar` won't have throttling options. # Set this flag to `true` to enable this lookup in initializer, after # that `Bar` will use `Foo` throttling bucket.