J
J
jazzus2019-06-21 21:37:21
Laravel
jazzus, 2019-06-21 21:37:21

Why did the task run 200 times?

One of the jobs was executed unexpectedly 200 times. There are no errors in the logs, there are no hung queues, the task is completed. This is the first time this has worked fine. Running a job is as simple as possible.
Джоб::dispatch(данные)->delay($when);
The craziest thing is that in the process it launches an event, part of which is an email notification .. What could be causing this? The settings in Laravel Forge are as follows.
Connection database
Queue default
Timeout 0
Processes 1
Tries Any
Daemon Yes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Wells, 2019-06-22
@jazzus

Well... I'll tell you the obvious, but either you dispatched the job 200 times, or it retryed 200 times after the fail somewhere at the end.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question