classes/Models/Worker.php
public function lastHeartbeatCheck()
    {
        $check = Cache::get($this->HEARTBEAT_CRON_KEY);
        if (empty($check)) {
            return 'never';
        }

        return date(Library\Utils\Constants::COMMON_DATETIME.' T', $check->time);
    }
public function lastHeartbeatCheck()
    {
        $check = Cache::get($this->HEARTBEAT_CRON_KEY);
        if (empty($check)) {
            return 'never';
        }

        return date(Library\Utils\Constants::COMMON_DATETIME.' T', $check->time);
    }
public function lastHeartbeatCheck ( ) { $ check = Cache :: get ( $ this -> HEARTBEAT_CRON_KEY ) ; if ( empty ( $ check ) ) { return 'never' ; } return date ( Library \ Utils \ Constants :: COMMON_DATETIME . ' T' , $ check -> time ) ; }
Last time the heartbeat was checked
Last time the heartbeat was checked