You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromrqimportWorkerfromrq.utilsimportimport_attribute# For default Worker class from RQ module:workers=Worker.all(connection=rq.connection)
# For any Worker classworkers=import_attribute(rq.worker_class).all(connection=rq.connection)
(Additionally) To get list of workers for specified queue:
Activity
AlexanderPashuk commentedon Aug 13, 2019
Hey,
Check out https://github.com/eoranged/rq-dashboard. Very useful to monitor RQ.
Assume that we have initialized RQ and app:
To get all workers:
(Additionally) To get list of workers for specified queue:
Let me now if you need more info :)