@@ -16,7 +16,7 @@ class GatherExampleJob extends Job
/**
* 任务执行失败后的重试次数,即最大执行次数为 $maxAttempts+1 次
*/
- protected int $maxAttempts = 2;
+ protected int $maxAttempts = 10;
public function __construct($params)
{
@@ -12,7 +12,7 @@ class ImportExampleJob extends Job
- protected int $maxAttempts = 3;