mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 08:32:14 +00:00
cron indicator improvement
This commit is contained in:
@@ -44,7 +44,7 @@ if (! function_exists('isRunningCron')) {
|
||||
*/
|
||||
function isRunningCron(): bool
|
||||
{
|
||||
return cache()->has('latest_cron_update') && Carbon::parse(cache()->get('latest_cron_update'))->diffInMinutes(now()) < 2;
|
||||
return cache()->has('latest_cron_update') && Carbon::parse(cache()->get('latest_cron_update'))->diffInMinutes(now()) <= 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user