Skip to content

Commit 2c0da0f

Browse files
committed
chore: fix retries
1 parent 96438db commit 2c0da0f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

app/Jobs/Payments/CreatePaymentProfileMQJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CreatePaymentProfileMQJob implements ShouldQueue
2828
{
2929
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
3030

31-
public int $tries = 3;
31+
public int $tries = 1;
3232

3333
private PaymentGatewayProfileService $service;
3434

app/Jobs/Payments/DeletePaymentProfileMQJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class DeletePaymentProfileMQJob implements ShouldQueue
2929
{
3030
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
3131

32-
public int $tries = 3;
32+
public int $tries = 1;
3333

3434
private PaymentGatewayProfileService $service;
3535

app/Jobs/Payments/PaymentsMQJob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class PaymentsMQJob extends BaseJob
1919
{
20-
public int $tries = 3;
20+
public int $tries = 1;
2121

2222
/**
2323
* Get the decoded body of the job.
@@ -27,7 +27,7 @@ class PaymentsMQJob extends BaseJob
2727
public function payload(): array
2828
{
2929
$routing_key = $this->getRabbitMQMessage()->getRoutingKey();
30-
Log::debug("PaymentsMQJob::payload", ['routing_key' => $routing_key]);
30+
Log::debug("PaymentsMQJob::payload processing job", ['routing_key' => $routing_key]);
3131
switch ($routing_key) {
3232
case EventTypes::PAYMENT_PROFILE_CREATED:
3333
$job = 'App\Jobs\Payments\CreatePaymentProfileMQJob@handle';

app/Jobs/Payments/UpdatePaymentProfileMQJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class UpdatePaymentProfileMQJob implements ShouldQueue
3030
{
3131
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
3232

33-
public int $tries = 3;
33+
public int $tries = 1;
3434

3535
private ISummitRepository $summit_repository;
3636

0 commit comments

Comments
 (0)