1
0
Fork 0
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:
brainopia 2013-03-07 12:06:18 +04:00
parent 6ea494d425
commit 93488c23e1

View file

@ -39,6 +39,13 @@ workers simultaneously.
Ability to set limits dynamically allows you to resize worker Ability to set limits dynamically allows you to resize worker
distribution among queues any time you want. 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 ### Pauses
@ -51,13 +58,6 @@ will be preserved.
Sidekiq::Queue['name'].unpause # allows workers to use the queue 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 ### Multiple processes
Limits are applied per process. In case you have several worker Limits are applied per process. In case you have several worker