JMSJobQueueBundle icon indicating copy to clipboard operation
JMSJobQueueBundle copied to clipboard

Enhacement: tags

Open ecentinela opened this issue 12 years ago • 1 comments

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).

ecentinela avatar Apr 03 '13 10:04 ecentinela

You can use multiples queues for that, and limiit the number of concurent jobs

    queue_options:
        video_conversion:
            max_concurrent_jobs: 2 

http://jmsyst.com/bundles/JMSJobQueueBundle/master/usage#fine-grained-concurrency-control-through-queues

Maybe, the queue implémentation coule be modified to allow to provide an array'queue1', 'queue2')

sadortun avatar Apr 05 '15 01:04 sadortun