ixti / sidekiq-throttled

Concurrency and rate-limit throttling for Sidekiq
MIT License
710 stars 76 forks source link

Extend strategy lookup to class ancestors chain #54

Closed y9v closed 6 years ago

y9v commented 6 years ago

Currently when specifying a throttling strategy on a parent worker class the strategy won't be inherited by the child worker class.

This PR extends the registry, so it also looks for the strategy by class ancestors.

ixti commented 6 years ago

Thanks!

y9v commented 6 years ago

Thank you!