removed ->connection from jobs

This commit is contained in:
2021-03-30 01:15:19 +09:00
parent e2b94eea77
commit ecd7b08b27
6 changed files with 6 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ class ProcessSendEveMailJob implements ShouldQueue
*/
public function __construct($body, $recipient, $recipient_type, $subject, $sender) {
//Set the connection
$this->connection = 'redis';
//$this->connection = 'redis';
//Set the middleware for the job
$this->middleware = $this->middleware();

View File

@@ -55,7 +55,7 @@ class ProcessSendEveMailJobRL implements ShouldQueue
*/
public function __construct($body, $recipient, $recipient_type, $subject, $sender) {
//Set the connection
$this->connection = 'redis';
//$this->connection = 'redis';

View File

@@ -60,7 +60,7 @@ class FetchMiningTaxesLedgersJob implements ShouldQueue
public function __construct($charId, $corpId, $observerId)
{
//Set the connection for the job
$this->connection = 'redis';
//$this->connection = 'redis';
//Import the variables from the calling function
$this->charId = $charId;

View File

@@ -51,7 +51,7 @@ class ProcessMiningTaxesLedgersJob implements ShouldQueue
public function __construct($ledger, $observerId)
{
//Set the connection for the job
$this->connection = 'redis';
//$this->connection = 'redis';
//Import variables from the calling function
$this->ledger = $ledger;

View File

@@ -30,7 +30,7 @@ class ProcessMiningTaxesPaymentsJob implements ShouldQueue
*/
public function __construct()
{
$this->connection = 'redis';
//$this->connection = 'redis';
}
/**

View File

@@ -59,7 +59,7 @@ class EndSupplyChainContractJob implements ShouldQueue
public function __construct(SupplyChainContract $contract)
{
//Set the queue connection up
$this->connection = 'redis';
//$this->connection = 'redis';
//Set the variables
$contractId = $contract->contract_id;