README.md in sidekiq-unique-jobs-8.0.6 vs README.md in sidekiq-unique-jobs-8.0.7
- old
+ new
@@ -580,12 +580,10 @@
end
#spec/workers/bad_worker_spec.rb
require "sidekiq_unique_jobs/testing"
-#OR
-require "sidekiq_unique_jobs/rspec/matchers"
RSpec.describe BadWorker do
specify { expect(described_class).to have_valid_sidekiq_options }
end
```
@@ -814,10 +812,10 @@
In my benchmarks deleting 1000 orphaned locks with lua performs around 65% faster than deleting 1000 keys in ruby.
On the other hand if I increase it to 10 000 orphaned locks per cleanup (`reaper_count: 10_0000`) then redis starts throwing:
-> BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE. (Redis::CommandError)
+> BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE. (RedisClient::CommandError)
If you want to disable the reaper set it to `:none`, `nil` or `false`. Actually, any value that isn't `:ruby` or `:lua` will disable the reaping.
```ruby
SidekiqUniqueJobs.config.reaper = :none