removed ->connection from jobs
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -30,7 +30,7 @@ class ProcessMiningTaxesPaymentsJob implements ShouldQueue
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->connection = 'redis';
|
||||
//$this->connection = 'redis';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user