李帅

1.微调一下接口,打印参数

......@@ -16,6 +16,9 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')->hourly();
// horizon面板的metrics仪表盘
$schedule->command('horizon:snapshot')->everyFiveMinutes();
}
/**
......
......@@ -25,7 +25,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
//
// 保证生产模式也能访问到horizon面板
Horizon::auth(function () {
return true;
});
......