Closed sentience closed 10 years ago
Used this in anger on our production server and ran into some hiccups, thus the additional commits above. This is now working smoothly for me, but could probably use some better test coverage.
I'm curious about the 'in anger' bit :)
This looks good, I'm merging.
This adds support for supplying
Proc
s for each of the:name
,:limit
/:threshold
, and:period
/:interval
configuration options. Note the caveat documented in my addition to README.md. sidekiq-throttler suffers from this same caveat, and there seems to be no way around it without modifying Sidekiq internals.