def _heartbeat(self):
        """Heartbeat callback. Sends heartbeat to the client."""
        if (self._heartbeat_delay is not None
            and self._heartbeat_delay < time.time()):
            delay = self._heartbeat_delay
            self._heartbeat_delay = None
            return delay

        logging.debug('Sending heartbeat')

        if self._missed_heartbeats > 5:
            logging.debug('Missed too many heartbeats')
            self.close()
        else:
            self.send_heartbeat()
dataset/ETHPy150Open mrjoes/tornadio/tornadio/conn.py/SocketConnection._heartbeat/swapped operands of `<`