You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sidekiq / Pro / Enterprise version(s): sidekiq-ent (7.2.2)
The "Unlimited" rate limiter is supposed to be usable as a drop-in replacement for the other limiters (see https://github.com/sidekiq/sidekiq/wiki/Ent-Rate-Limiting). However, that won't work for cases where the limiters uses arguments or block variables for within_limit. E.g. limiter.within_limit(estimate: 1) {|handle| ...}
If limiter is Sidekiq::Limiter.unlimited it does not accept arguments for within_limit and does not yield handle. It should be adapted to accept any args and yield stub handles.
The text was updated successfully, but these errors were encountered:
Sidekiq / Pro / Enterprise version(s): sidekiq-ent (7.2.2)
The "Unlimited" rate limiter is supposed to be usable as a drop-in replacement for the other limiters (see https://github.com/sidekiq/sidekiq/wiki/Ent-Rate-Limiting). However, that won't work for cases where the limiters uses arguments or block variables for
within_limit
. E.g.limiter.within_limit(estimate: 1) {|handle| ...}
If limiter is
Sidekiq::Limiter.unlimited
it does not accept arguments forwithin_limit
and does not yieldhandle
. It should be adapted to accept any args and yield stub handles.The text was updated successfully, but these errors were encountered: