Open ecentinela opened 11 years ago
You can use multiples queues for that, and limiit the number of concurent jobs
queue_options:
video_conversion:
max_concurrent_jobs: 2
Maybe, the queue implémentation coule be modified to allow to provide an array'queue1', 'queue2')
Allow to tag a job with multiple tags and allow to include / exclude tags on the command. So, for example, I can run a command with video_conversion tag (a long running task) and another command with email_sending tag (a quick and important task).