laravel / horizon

Dashboard and code-driven configuration for Laravel queues.
https://laravel.com/docs/horizon
MIT License
3.83k stars 643 forks source link

Some failed jobs will attempts twice #1382

Closed lengjunbin-trec closed 6 months ago

lengjunbin-trec commented 6 months ago

Horizon Version

4.3

Laravel Version

7

PHP Version

7.4

Redis Driver

PhpRedis

Redis Version

7.0.4

Database Driver & Version

No response

Description

when I check the horizon failed jobs. I saw some failed jobs attempts number is 2.but I didn't set any parameters to make it retry twice. image

Steps To Reproduce

I checked the failed jobs detail.if the shows job has been attempted too many times or run too long. The job may have previously timed out.the number of Attempts is 2.

crynobone commented 6 months ago

Hey there,

Unfortunately we don't support this version of the library anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.

Thanks!