From 93488c23e14baaa2879c53a1aa016f73fe3dd00e Mon Sep 17 00:00:00 2001 From: brainopia Date: Thu, 7 Mar 2013 12:06:18 +0400 Subject: [PATCH] Streamline readme --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4a35f2d..4d3c90d 100644 --- a/README.md +++ b/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