Add backoff property to SendMessageToDiscordJob.php
This commit is contained in:
@@ -20,11 +20,12 @@ class SendMessageToDiscordJob implements ShouldQueue, ShouldBeEncrypted
|
|||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
public $tries = 5;
|
public $tries = 5;
|
||||||
|
public $backoff = 10;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The maximum number of unhandled exceptions to allow before failing.
|
* The maximum number of unhandled exceptions to allow before failing.
|
||||||
*/
|
*/
|
||||||
public int $maxExceptions = 3;
|
public int $maxExceptions = 5;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
public string $text,
|
public string $text,
|
||||||
|
|||||||
Reference in New Issue
Block a user