I am using laravel 5.1 for my application. And for event handlers i am using shoudque as below
class QuizCreatedHandler implements ShouldQueue
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
}
/**
* Handle the event.
*
* @param QuizCreated $event
* @return void
*/
public function handle(QuizCreated $event)
{
//codes here
}
}
But the thing when i comment shouldqueue, events working perfectly. But if i use shouldqueue, the event is not getting even after 1 hour. Is there any way to check it? Or is there any way to set high priority to this queue ?
Appreciate any Help.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire