horizon
This commit is contained in:
@@ -50,6 +50,6 @@ class UpdateAllianceWalletJournal extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
UpdateAllianceWalletJournalJob::dispatch();
|
UpdateAllianceWalletJournalJob::dispatch()->onQueue('finances');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,38 +83,48 @@ class Kernel extends ConsoleKernel
|
|||||||
*/
|
*/
|
||||||
$schedule->job(new FetchMiningTaxesObservers)
|
$schedule->job(new FetchMiningTaxesObservers)
|
||||||
->timezone('UTC')
|
->timezone('UTC')
|
||||||
->dailyAt('22:00');
|
->dailyAt('22:00')
|
||||||
|
->withoutOverlapping();
|
||||||
$schedule->job(new PreFetchMiningTaxesLedgers)
|
$schedule->job(new PreFetchMiningTaxesLedgers)
|
||||||
->timezone('UTC')
|
->timezone('UTC')
|
||||||
->dailyAt('20:00');
|
->dailyAt('20:00')
|
||||||
|
->withoutOverlapping();
|
||||||
$schedule->job(new SendMiningTaxesInvoices)
|
$schedule->job(new SendMiningTaxesInvoices)
|
||||||
->timezone('UTC')
|
->timezone('UTC')
|
||||||
->weeklyOn(1, '06:00');
|
->weeklyOn(1, '06:00')
|
||||||
|
->withoutOverlapping();
|
||||||
$schedule->job(new ProcessMiningTaxesPayments)
|
$schedule->job(new ProcessMiningTaxesPayments)
|
||||||
->timezone('UTC')
|
->timezone('UTC')
|
||||||
->hourlyAt('15');
|
->hourlyAt('15')
|
||||||
|
->withoutOverlapping();
|
||||||
$schedule->job(new UpdateMiningTaxesLateInvoices1st)
|
$schedule->job(new UpdateMiningTaxesLateInvoices1st)
|
||||||
->timezone('UTC')
|
->timezone('UTC')
|
||||||
->monthlyOn(1, '16:00');
|
->monthlyOn(1, '16:00')
|
||||||
|
->withoutOverlapping();
|
||||||
$schedule->job(new UpdateMiningTaxesLateInvoices15th)
|
$schedule->job(new UpdateMiningTaxesLateInvoices15th)
|
||||||
->timezone('UTC')
|
->timezone('UTC')
|
||||||
->monthlyOn(15, '16:00');
|
->monthlyOn(15, '16:00')
|
||||||
|
->withoutOverlapping();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Alliance Structure and Assets Schedule
|
* Alliance Structure and Assets Schedule
|
||||||
*/
|
*/
|
||||||
$schedule->job(new FetchAllianceStructures)
|
$schedule->job(new FetchAllianceStructures)
|
||||||
->timezone('UTC')
|
->timezone('UTC')
|
||||||
->dailyAt('21:00');
|
->dailyAt('21:00')
|
||||||
|
->withoutOverlapping();
|
||||||
$schedule->job(new FetchAllianceAssets)
|
$schedule->job(new FetchAllianceAssets)
|
||||||
->timezone('UTC')
|
->timezone('UTC')
|
||||||
->hourlyAt('15');
|
->hourlyAt('15')
|
||||||
|
->withoutOverlapping();
|
||||||
$schedule->job(new PurgeAllianceStructures)
|
$schedule->job(new PurgeAllianceStructures)
|
||||||
->timezone('UTC')
|
->timezone('UTC')
|
||||||
->monthlyOn(2, '14:00');
|
->monthlyOn(2, '14:00')
|
||||||
|
->withoutOverlapping();
|
||||||
$schedule->job(new PurgeAllianceAssets)
|
$schedule->job(new PurgeAllianceAssets)
|
||||||
->timezone('UTC')
|
->timezone('UTC')
|
||||||
->monthlyOn(2, '15:00');
|
->monthlyOn(2, '15:00')
|
||||||
|
->withoutOverlapping();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -149,11 +149,12 @@ return [
|
|||||||
'mail',
|
'mail',
|
||||||
'miningtaxes',
|
'miningtaxes',
|
||||||
'structures',
|
'structures',
|
||||||
|
'finances',
|
||||||
],
|
],
|
||||||
'balance' => 'auto',
|
'balance' => 'auto',
|
||||||
'processes' => 10,
|
'processes' => 6,
|
||||||
'minProcesses' => 1,
|
'minProcesses' => 1,
|
||||||
'maxProcesses' => 5,
|
'maxProcesses' => 6,
|
||||||
'tries' => 3,
|
'tries' => 3,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
@@ -167,11 +168,12 @@ return [
|
|||||||
'mail',
|
'mail',
|
||||||
'miningtaxes',
|
'miningtaxes',
|
||||||
'structures',
|
'structures',
|
||||||
|
'finances',
|
||||||
],
|
],
|
||||||
'balance' => 'auto',
|
'balance' => 'auto',
|
||||||
'processes' => 10,
|
'processes' => 6,
|
||||||
'minProcesses' => 1,
|
'minProcesses' => 1,
|
||||||
'maxProcesses' => 5,
|
'maxProcesses' => 6,
|
||||||
'tries' => 3,
|
'tries' => 3,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user