I am working in laravel 5.0
I am using database as queue driver. I have created 2 events A and B. I want event B to always execute first. Even if Event B is inserted in Jobs table after Event A it should execute first.
Both of my events consists of
implements ShouldBeQueued
and
use InteractsWithQueue;
So both events are going into jobs table and i have supervisor(process manager) to handle them..
It is working fine so far, Just that i want to give high priority to Event B over Event A.
Any help would be appreciated..
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2bBKdSf
via IFTTT
Aucun commentaire:
Enregistrer un commentaire