mirror of
https://github.com/deanpcmad/sidekiq-limit_fetch.git
synced 2022-11-09 13:54:36 -05:00
Update readme slightly
This commit is contained in:
parent
f850430076
commit
1e3ac559ec
1 changed files with 5 additions and 3 deletions
|
@ -15,8 +15,10 @@ Specify limits which you want to place on queues inside sidekiq.yml:
|
|||
|
||||
```yaml
|
||||
:limits:
|
||||
restricted_queue: 5
|
||||
queue_name1: 5
|
||||
queue_name2: 10
|
||||
```
|
||||
|
||||
In this example, tasks for restricted queue will be run by at most 5
|
||||
workers at the same time.
|
||||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue