.env update and kernel update for horizon

This commit is contained in:
2019-05-14 00:26:57 -05:00
parent 1e36c38d24
commit c36e49c7df
3 changed files with 4 additions and 3 deletions

2
.env
View File

@@ -15,8 +15,6 @@ DB_PASSWORD=strtmage
BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=redis
QUEUE_DRIVER=redis
SESSION_DRIVER=file

View File

@@ -64,7 +64,7 @@ class HoldingFinancesCommand extends Command
$job->division = 1;
$job->charId = 93738489;
$job->page = $i;
ProcessWalletJournalJob::dispatch($job);
ProcessWalletJournalJob::dispatch($job)->onQueue('default');
}
//Mark the job as finished

View File

@@ -51,6 +51,9 @@ class Kernel extends ConsoleKernel
$schedule->command('services:PiTransactions')
->hourly()
->withoutOverlapping();
//Horizon Graph Schedule
$schedule->command('horizon:snapshot')->everyFiveMinutes();
}
/**