Skip to content

Commit 25842db

Browse files
committed
set $maxExceptions property on HandleInvoicePaidJob
1 parent c952931 commit 25842db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Jobs/HandleInvoicePaidJob.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ class HandleInvoicePaidJob implements ShouldQueue
2020
{
2121
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
2222

23+
public int $maxExceptions = 1;
24+
2325
public function __construct(public Invoice $invoice) {}
2426

2527
public function handle(): void

0 commit comments

Comments
 (0)