I have app server who do a specific task, for example. Download a file from another server. Since this task can take some time i use
supervisor with queues.
The flow is like: A command (cron) checks every minute if there is a new file that should be processed. If so add it to the queue. A queue worker will get it from the queue and process it.
Since i want to limit the amount of concurrence downloads i need to somehow check how many queue workers are currently active.
Is there a way to get the active queue workers?