Эх сурвалжийг харах

Merge pull request #480 from betaxab/horizon-metrics

tokumeikoi 3 жил өмнө
parent
commit
243aed3f55

+ 2 - 0
app/Console/Kernel.php

@@ -34,6 +34,8 @@ class Kernel extends ConsoleKernel
         $schedule->command('reset:serverLog')->quarterly();
         // send
         $schedule->command('send:remindMail')->dailyAt('11:30');
+        // horizon metrics
+        $schedule->command('horizon:snapshot')->everyFiveMinutes();
     }
 
     /**