Answer the question
In order to leave comments, you need to log in
How to get running jobs?
Queues work on redis.
There is a queue "cache_master_1". You need to get all the jobs that are currently running.
The query
returns such keys
Redis::KEYS('*queue*')
queues:cache_master_1:notify
queues:cache_master_1
queues:cache_master_1:reserved
Redis::lrange('queues:cache_master_1:reserved', 0, -1)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question