protected function set_refresh_rate() {
        if (defined('BEHAT_SITE_RUNNING')) {
            // Hack for behat tests.
            $this->refresh = 5;
        } else {
            if (defined('REPORT_LOGLIVE_REFRESH')) {
                // Backward compatibility.
                $this->refresh = REPORT_LOGLIVE_REFERESH;
            } else {
                // Default.
                $this->refresh = 60;
            }
        }
    }
protected function set_refresh_rate() {
        if (defined('BEHAT_SITE_RUNNING')) {
            // Hack for behat tests.
            $this->refresh = 5;
        } else {
            if (defined('REPORT_LOGLIVE_REFRESH')) {
                // Backward compatibility.
                $this->refresh = REPORT_LOGLIVE_REFERESH;
            } else {
                // Default.
                $this->refresh = 60;
            }
        }
    }
protected function set_refresh_rate ( ) { if ( defined ( 'BEHAT_SITE_RUNNING' ) ) { // Hack for behat tests. $ this -> refresh = 5 ; } else { if ( defined ( 'REPORT_LOGLIVE_REFRESH' ) ) { // Backward compatibility. $ this -> refresh = REPORT_LOGLIVE_REFERESH ; } else { // Default. $ this -> refresh = 60 ; } } }
Set refresh rate of the live updates.
Set refresh rate of the live updates .