Add tries for member job
This commit is contained in:
parent
5357106187
commit
ff637a5d88
|
@ -5,6 +5,7 @@ namespace App\Nami\Api;
|
|||
use App\Member\Data\FullMember;
|
||||
use Illuminate\Support\Facades\Redis;
|
||||
use Lorisleiva\Actions\Concerns\AsAction;
|
||||
use Lorisleiva\Actions\Decorators\JobDecorator;
|
||||
use Zoomyboy\LaravelNami\Api;
|
||||
|
||||
class FullMemberAction
|
||||
|
@ -25,4 +26,9 @@ class FullMemberAction
|
|||
|
||||
return $fullMember;
|
||||
}
|
||||
|
||||
public function configureJob(JobDecorator $job): void
|
||||
{
|
||||
$job->setTries(8);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue