mirror of
https://github.com/deanpcmad/sidekiq-limit_fetch.git
synced 2022-11-09 13:54:36 -05:00
Streamline readme
This commit is contained in:
parent
6ea494d425
commit
93488c23e1
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
@ -39,6 +39,13 @@ workers simultaneously.
|
|||
Ability to set limits dynamically allows you to resize worker
|
||||
distribution among queues any time you want.
|
||||
|
||||
### Busy workers by queue
|
||||
|
||||
You can see how many workers currently handling a queue:
|
||||
|
||||
```ruby
|
||||
Sidekiq::Queue['name'].busy # number of busy workers
|
||||
```
|
||||
|
||||
### Pauses
|
||||
|
||||
|
@ -51,13 +58,6 @@ will be preserved.
|
|||
Sidekiq::Queue['name'].unpause # allows workers to use the queue
|
||||
```
|
||||
|
||||
|
||||
You can see how many workers currently handling a queue:
|
||||
|
||||
```ruby
|
||||
Sidekiq::Queue['name'].busy # number of busy workers
|
||||
```
|
||||
|
||||
### Multiple processes
|
||||
|
||||
Limits are applied per process. In case you have several worker
|
||||
|
|
Loading…
Reference in a new issue