mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
remove registerScheduleCleanup() debug
This commit is contained in:
@@ -60,7 +60,6 @@ class Kernel extends ConsoleKernel
|
|||||||
if (!$interval || $interval < 60) {
|
if (!$interval || $interval < 60) {
|
||||||
$interval = 7200;
|
$interval = 7200;
|
||||||
}
|
}
|
||||||
$interval = 60;
|
|
||||||
$schedule->job(new CheckCleanup())
|
$schedule->job(new CheckCleanup())
|
||||||
->cron(sprintf("*/%d * * * *", intval($interval/60)))
|
->cron(sprintf("*/%d * * * *", intval($interval/60)))
|
||||||
->withoutOverlapping();
|
->withoutOverlapping();
|
||||||
|
|||||||
Reference in New Issue
Block a user