jdavidbakr / mail-tracker

Package for Laravel to inject tracking code into outgoing emails.
MIT License
567 stars 129 forks source link

Job retryUntil() blocking the queue #187

Closed louis-l closed 2 years ago

louis-l commented 2 years ago

Hi there,

I encounter an issue with the queued job timeout. Some jobs failed and they keep retrying even through it exceeds the maxAttempt.

After an investigation, I seems like the jobs that have retryUntil() is the culprit. https://github.com/jdavidbakr/mail-tracker/blob/master/src/RecordLinkClickJob.php#L27-L30

I wonder why retryUntil() exists in some of the jobs in this library? And why it is set to 5 days?

louis-l commented 2 years ago

Ignore this, I forked and figured it out.