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