Skip to content

Commit e1f7d4f

Browse files
authored
Merge pull request #2 from descom-es/notify_retry
retry notifications
2 parents 35164d8 + 7f06921 commit e1f7d4f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Notifications/NotificationDescomMarket.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@ abstract class NotificationDescomMarket extends Notification implements ShouldQu
1010
{
1111
use Queueable;
1212

13+
public $tries = 10;
14+
1315
public function __construct()
1416
{
1517
$this->onConnection(config('dm360.notifications.queue.connection', 'sync'));
1618

1719
$this->onQueue(config('dm360.notifications.queue.name'));
1820
}
21+
22+
public function backoff(): int
23+
{
24+
return 600;
25+
}
1926
}

0 commit comments

Comments
 (0)