-
Hi, I am a newbie to this package. When I use the command php artisan queue:work everything works as expected, but when I run horizon my workflow keeps being triggered, without executing any of the activties. The horizon.log shows the following:
I guess something is wrong with my horizon setup (however it works fine with other jobs), so I have no idea where to look. The only clue I have until now, is that in the horizon UI the job remains in "pending". Any help or a direction would be helpful. Kind regards Andries This is my workflow
and this is the activity
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Did you check the logs for error messages? |
Beta Was this translation helpful? Give feedback.
-
Guys, this issue is real, I am facing the same thing. when I run laravel queue:work, it starts processing my workflows, usually the first one is processed and completed but when the next queue is being processed, I receive a similar error ..
Note: there are no errors in the error logs and also checking failed jobs in the database, it is empty, but for workflows, I see the last workflow with status pending, I am on development server with redis for running queue. this error persists until i ran php artisan migrate:fresh, and then the next immediate workflow will run in the queue and then this error comes back when you put something new in the queue. i have a regular workflow.
. Also, I will like to know what is the best way to exit from an activity execution, do you throw an exception? |
Beta Was this translation helpful? Give feedback.
Did you check the logs for error messages?