Page MenuHomePhorge

D5116.1775409435.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D5116.1775409435.diff

diff --git a/src/app/Jobs/WalletCharge.php b/src/app/Jobs/WalletCharge.php
--- a/src/app/Jobs/WalletCharge.php
+++ b/src/app/Jobs/WalletCharge.php
@@ -6,6 +6,8 @@
class WalletCharge extends CommonJob
{
+ public const QUEUE = 'background';
+
/** @var int How many times retry the job if it fails. */
public $tries = 5;
@@ -25,6 +27,7 @@
public function __construct(string $walletId)
{
$this->walletId = $walletId;
+ $this->onQueue(self::QUEUE);
}
/**
diff --git a/src/app/Jobs/WalletCheck.php b/src/app/Jobs/WalletCheck.php
--- a/src/app/Jobs/WalletCheck.php
+++ b/src/app/Jobs/WalletCheck.php
@@ -12,6 +12,8 @@
public const THRESHOLD_REMINDER = 'reminder';
public const THRESHOLD_INITIAL = 'initial';
+ public const QUEUE = 'background';
+
/** @var int How many times retry the job if it fails. */
public $tries = 5;
@@ -24,7 +26,6 @@
/** @var string A wallet identifier */
protected $walletId;
-
/**
* Create a new job instance.
*
@@ -35,6 +36,7 @@
public function __construct(string $walletId)
{
$this->walletId = $walletId;
+ $this->onQueue(self::QUEUE);
}
/**

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 5, 5:17 PM (1 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18834011
Default Alt Text
D5116.1775409435.diff (1 KB)

Event Timeline