.env update and kernel update for horizon
This commit is contained in:
2
.env
2
.env
@@ -15,8 +15,6 @@ DB_PASSWORD=strtmage
|
|||||||
|
|
||||||
BROADCAST_DRIVER=log
|
BROADCAST_DRIVER=log
|
||||||
CACHE_DRIVER=file
|
CACHE_DRIVER=file
|
||||||
|
|
||||||
QUEUE_CONNECTION=redis
|
|
||||||
QUEUE_DRIVER=redis
|
QUEUE_DRIVER=redis
|
||||||
|
|
||||||
SESSION_DRIVER=file
|
SESSION_DRIVER=file
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ class HoldingFinancesCommand extends Command
|
|||||||
$job->division = 1;
|
$job->division = 1;
|
||||||
$job->charId = 93738489;
|
$job->charId = 93738489;
|
||||||
$job->page = $i;
|
$job->page = $i;
|
||||||
ProcessWalletJournalJob::dispatch($job);
|
ProcessWalletJournalJob::dispatch($job)->onQueue('default');
|
||||||
}
|
}
|
||||||
|
|
||||||
//Mark the job as finished
|
//Mark the job as finished
|
||||||
|
|||||||
@@ -51,6 +51,9 @@ class Kernel extends ConsoleKernel
|
|||||||
$schedule->command('services:PiTransactions')
|
$schedule->command('services:PiTransactions')
|
||||||
->hourly()
|
->hourly()
|
||||||
->withoutOverlapping();
|
->withoutOverlapping();
|
||||||
|
|
||||||
|
//Horizon Graph Schedule
|
||||||
|
$schedule->command('horizon:snapshot')->everyFiveMinutes();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user