From ff637a5d88d7ef3d60b0a4434a6aebaa9d6e590c Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 3 May 2023 22:36:02 +0200 Subject: [PATCH] Add tries for member job --- app/Nami/Api/FullMemberAction.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Nami/Api/FullMemberAction.php b/app/Nami/Api/FullMemberAction.php index 8ddbd43c..b0dca589 100644 --- a/app/Nami/Api/FullMemberAction.php +++ b/app/Nami/Api/FullMemberAction.php @@ -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); + } }