Merge branch '535-display-open-jos-in-the-last-24-hours' into 'master'

Change time period to refresh cache to 5 hours. #535

Closes #535

See merge request jankstudio/resq!622
This commit is contained in:
Kendrick Chan 2021-02-09 06:13:30 +00:00
commit ce711e9ae8

View file

@ -49,7 +49,7 @@ class RefreshLatestActiveJobOrderCacheCommand extends Command
fwrite($tmp_cache_log, 'Cleared latest active jo cache...' . "\n");
$date = new DateTime();
$date->modify('-1 day');
$date->modify('-5 hour');
$status_list = [
JOStatus::PENDING,