Skip to content

Commit 873df00

Browse files
committed
feat(ReportExceptionJob): Add retry functionality
- Added `tries` property to the `ReportExceptionJob` class - Set `tries` value to 1
1 parent 161da27 commit 873df00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Jobs/ReportExceptionJob.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ class ReportExceptionJob implements ShouldQueue
2828
use Queueable;
2929
use SerializesModels;
3030

31+
/**
32+
* 任务可尝试的次数
33+
*/
34+
public int $tries = 1;
35+
3136
/**
3237
* @var array<string, string>
3338
*/

0 commit comments

Comments
 (0)