-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
Description
Hey @ixti
I'm wondering if it is possible to apply multiple throttles like so:
sidekiq_throttle_as :storm_proxy
sidekiq_throttle(
:concurrency => { :limit => 15},
:threshold => {
:limit => 30,
:period => 5.seconds
}
)
In this case we have a concurrency limit on the proxy provider which we want to apply to a bunch of jobs so that we can monitor and limit the overall concurrency in the web dashboard. But then we want to have individual throttles on each job.
When trying this the web just shows 0 for the :storm_proxy pool so I'm not sure it is being applied. Please let me know!
Reactions are currently unavailable