From 6a3c69393ea5ea5468f2977de14058d82fbac02f Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Wed, 12 May 2021 00:38:00 +0900 Subject: [PATCH] mining taxes update --- .../Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php | 2 +- .../Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php | 2 +- .../MiningTaxes/ExecuteProcesssMiningTaxesPaymentsCommand.php | 2 +- .../MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php b/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php index a37257130..5e5c86281 100644 --- a/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php +++ b/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php @@ -39,7 +39,7 @@ class ExecuteMiningTaxesLedgersCommand extends Command */ public function handle() { - PreFetch::dispatch(); + PreFetch::dispatch()->onQueue('miningtaxes'); return 0; } diff --git a/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php b/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php index 822104ea0..4bb0de2f1 100644 --- a/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php +++ b/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php @@ -39,7 +39,7 @@ class ExecuteMiningTaxesObserversCommand extends Command */ public function handle() { - FetchObservers::dispatch(); + FetchObservers::dispatch()->onQueue('miningtaxes'); return 0; } diff --git a/app/Console/Commands/MiningTaxes/ExecuteProcesssMiningTaxesPaymentsCommand.php b/app/Console/Commands/MiningTaxes/ExecuteProcesssMiningTaxesPaymentsCommand.php index 9097ef03f..f3afe6537 100644 --- a/app/Console/Commands/MiningTaxes/ExecuteProcesssMiningTaxesPaymentsCommand.php +++ b/app/Console/Commands/MiningTaxes/ExecuteProcesssMiningTaxesPaymentsCommand.php @@ -39,7 +39,7 @@ class ExecuteProcesssMiningTaxesPaymentsCommand extends Command */ public function handle() { - PMTP::dispatch(); + PMTP::dispatch()->onQueue('miningtaxes'); return 0; } diff --git a/app/Console/Commands/MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php b/app/Console/Commands/MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php index 8407b6e66..11eac6a05 100644 --- a/app/Console/Commands/MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php +++ b/app/Console/Commands/MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php @@ -39,7 +39,7 @@ class ExecuteSendMiningTaxesInvoiceCommand extends Command */ public function handle() { - SendInvoice::dispatch(); + SendInvoice::dispatch()->onQueue('miningtaxes'); return 0; }