1
0
Fork 0
mirror of https://github.com/deanpcmad/sidekiq-limit_fetch.git synced 2022-11-09 13:54:36 -05:00
Sidekiq strategy to support an advanced queue control – limiting, pausing, blocking, querying
Find a file
2013-01-11 16:01:46 +04:00
lib/sidekiq Fix bug 2013-01-11 16:01:46 +04:00
spec More tests 2013-01-11 16:01:37 +04:00
.gitignore Initial implementation 2013-01-11 14:56:41 +04:00
Gemfile Initial implementation 2013-01-11 14:56:41 +04:00
LICENSE.txt Initial implementation 2013-01-11 14:56:41 +04:00
Rakefile Initial implementation 2013-01-11 14:56:41 +04:00
README.md Update readme slightly 2013-01-11 15:02:39 +04:00
sidekiq-limit_fetch.gemspec Initial implementation 2013-01-11 14:56:41 +04:00

Description

Sidekig strategy to restrict number of workers which are able to run specified queues simultaneously.

Installation

Add this line to your application's Gemfile:

gem 'sidekiq-limit_fetch'

Usage

Specify limits which you want to place on queues inside sidekiq.yml:

:limits:
  queue_name1: 5
  queue_name2: 10

In this example, tasks for the first restricted queue will be run by at most 5 workers at the same time and the second queue will have no more than 10 workers simultaneously.