I have 2 queues. high-priority and normal-priority.
If I run the worker for both of them the high-priority will be always working and normal-priority will be significantly overflow.
I can't create 2 workers. Jobs there are using the same "resource" (not important what exactly), that can't be accessed by 2 jobs at the same time.
Is it possible somehow to define ratio for the worker. Like 70% chance to take from the high-priority and 30% from the normal-priority.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire