Skip to content

Instantly share code, notes, and snippets.

Last active Dec 11, 2017
What would you like to do?
Get all Sidekiq's queues length
local a={}
local'smembers', 'resque:gitlab:queues')
for i,v in ipairs(queues) do
a[i*2-1] = 'queue:' .. v
a[i*2] ='llen', 'resqueue:gitlab:queue:' .. v)
return a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment