You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using your package for notifications and is working properly.
Now I wanted to use the package for jobs but didn't have any success.
I am using Laravel 6 and dispatching jobs using TestJob::dispatch() on a database queue.
No matter what I tried the job still gets handled, so far I tried:
Just returning false in the isRelevant function (job is still handled)
Modifying the EnsureJobRelevance.php handle function to only return false (job is still handled)
Logged the get_class($event->job) and gotten "Illuminate\Queue\Jobs\DatabaseJob"
Logged the class_implements($event->job) and gotten "Illuminate\Contracts\Queue\Job" meaning the instanceof ShouldBeRelevantJob is false hence isRelevant() is not called.
Sorry if I am missing something
Best Regards
Vagelis
The text was updated successfully, but these errors were encountered:
Hello,
I am using your package for notifications and is working properly.
Now I wanted to use the package for jobs but didn't have any success.
I am using Laravel 6 and dispatching jobs using TestJob::dispatch() on a database queue.
No matter what I tried the job still gets handled, so far I tried:
Sorry if I am missing something
Best Regards
Vagelis
The text was updated successfully, but these errors were encountered: