enova/sidekiq-rate-limiter — pull request #7 by sentience (2014-05-28 03:20:14+00:00)
Title: Add support for Procs in configuration options.

This patch 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.