Add backoff property to SendMessageToDiscordJob.php
This commit is contained in:
parent
c6a7fd405b
commit
70e1ec2cd2
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue