Add tries for member job

This commit is contained in:
philipp lang 2023-05-03 22:36:02 +02:00
parent 5357106187
commit ff637a5d88
1 changed files with 6 additions and 0 deletions

View File

@ -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);
}
}