Closed sentience closed 10 years ago
In some use cases, you may have a Sidekiq server process running on each of several hosts, and you wish to limit the rate that jobs are executed on each server, rather than across all servers. To do this, add :per_server => true to your :rate hash.
:per_server => true
:rate
Tests are failing due to #4. Merge that fix, and this will pass too.
This pull request is obviated by #6. I'll evaluate the feature there.
Also, thanks for the collaboration :+1:
In some use cases, you may have a Sidekiq server process running on each of several hosts, and you wish to limit the rate that jobs are executed on each server, rather than across all servers. To do this, add
:per_server => true
to your:rate
hash.