README.md in sidekiq-batching-0.0.1 vs README.md in sidekiq-batching-0.0.2

- old
+ new

@@ -14,12 +14,12 @@ class ElasticBulkIndexWorker include Sidekiq::Worker sidekiq_options( queue: :batched_by_size, - batch_size: 30, - batch_flush_interval: 30, + batch_size: 30, # Jobs will be combined to groups of 30 items + batch_flush_interval: 60, # Combined jobs will be executed at least every 60 seconds retry: 5 ) def perform(group) client = Elasticsearch::Client.new @@ -46,10 +46,10 @@ [{ delete: { _index: 'test', _id: 7, _type: 'user' } }] ... ] ``` -This will happen for every 30 jobs in a row or every 30 seconds. +This will happen for every 30 jobs in a row or every 60 seconds. Add this line to your `config/routes.rb` to activate web UI: ```ruby require "sidekiq/batching/web"