From 9eeaed2382e115851ab9407646e2f9c721ab4aef Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Tue, 2 Nov 2021 09:57:21 -0700 Subject: [PATCH] Trim --- Changes.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Changes.md b/Changes.md index 81145221..50f2cee4 100644 --- a/Changes.md +++ b/Changes.md @@ -24,15 +24,10 @@ end require "sidekiq/middleware/current_attributes" Sidekiq::CurrentAttributes.persist(Myapp::Current) # Your AS::CurrentAttributes singleton ``` -- **FEATURE**: Introduce new method, `.perform_bulk` on `Sidekiq::Worker` that makes enqueuing - jobs in bulk adhere to Redis best practices by enqueuing 1,000 jobs per round trip. This - shares a similar args syntax to `Sidekiq::Client.push_bulk`. Batch sizes can be configured - with the optional `batch_size:` keyword argument. +- **FEATURE**: Add `Sidekiq::Worker.perform_bulk` for enqueuing jobs in bulk, + similar to `Sidekiq::Client.push_bulk` [#5042] ```ruby MyJob.perform_bulk([[1], [2], [3]]) - -# With a batch size provided: -MyJob.perform_bulk([[1], [2], [3]], batch_size: 100) ``` - Implement `queue_as`, `wait` and `wait_until` for ActiveJob compatibility [#5003] - Retry Redis operation if we get an `UNBLOCKED` Redis error. [#4985]