Ent-Changes.md
Sidekiq Changes | Sidekiq Pro Changes | Sidekiq Enterprise Changes
Please see sidekiq.org for more details and how to buy.
gserver gem dependencyeinhorn dependency optional since it is only required for rolling restartskiqget_process_mem gem which should allow
operation on Alpine Linux, Windows, etc. [#6752]inspect to avoid huge output [#6553]Process.warmup before fork in sidekiqswarm, use RUBY_DISABLE_WARMUP=1 to disable [#6279]perform_inline [#6460]Sidekiq::Enterprise.gem_version APIbase64 gem dependencySIDEKIQ_COUNT=2.5 will create 2 Sidekiq processes. [#6244]within_limit(used: 1) option to window and bucket rate limiters.
You can adjust the number of points used by a call performing batch operations [#6146]---
health_check: 127.0.0.1:8111 # static
health_check: <%= ENV["SIDEKIQ_HEALTH_BINDING"] %> # dynamic!
config.health_check("127.0.0.1:8111")
config.health_check(port = 7433) [#5923]require "sidekiq-ent/periodic/testing"
CRON_BLOCK = ->(mgr) { mgr.register("0 * * * * *", "SomeJob") }
ct = Sidekiq::Periodic::ConfigTester.new
ct.verify(&CRON_BLOCK) # => raises ArgumentError, invalid crontab syntax
autoloadsidekiqswarm [#5801]replicate_commands Redis directive, default in 5.0, gone in 7.0SIDEKIQ_ENT_USERNAME=abcd1234 bundle exec sidekiqleaker = Sidekiq::Limiter.leaky("shopify", 60, :minute)
leaker.within_limit do
...
end
See the Rate Limiting wiki page for more detail.
reschedule: 0.Sidekiq::Limiter.concurrent("somename", 5, reschedule: 0)
bundle install much faster with Bundler 2.2+ [#4158]sidekiq_options, add support for uniqueness in AJs [#4667]sidekiq.enqueued.#{name} -> sidekiq.queue.size with tag queue:#{name}
sidekiq.latency.#{name} -> sidekiq.queue.latency with tag queue:#{name}
concurrent-ruby gem dependency [#4586]Type=notify support for swarm [#4511]GC.compact if possible in sidekiqswarm before forking [#4181]default queue latency [#4079]freeze calls on Strings [#3759]limiter = Sidekiq::Limiter.unlimited(...any args...)
save_history API. [#2815]unique_until: 'start' policy option. [#3471]expiry = 1.month.to_i; Sidekiq::Limiter.redis { |c| c.scan_each(match: "lmtr-cfree-*") { |key| c.expire(key, expiry) } }
sidekiqswarm [#3025]SIDEKIQ_PRELOAD=default,production bin/sidekiqswarm ...
# Use an empty value for maximum application compatibility
SIDEKIQ_PRELOAD= bin/sidekiqswarm ...
MAXMEM_KB=1048576 COUNT=2 bundle exec sidekiqswarm ...
unique_for: false [#2658]Sidekiq::Limiter redis handling to match global redis handling.Initial release.