code: def _report_self(self):
          
          if self.redis_connected:
              self.logger.debug("Reporting self to redis")
              try:
                  key = "stats:rest:self:{m}:{u}".format(
                      m=socket.gethostname(),
                      u=self.my_uuid)
                  self.redis_conn.set(key, self.get_time())
                  self.redis_conn.expire(key, self.settings['HEARTBEAT_TIMEOUT'])
              except ConnectionError:
                  self.logger.error("Lost connection to Redis")
                  self._spawn_redis_connection_thread()
          else:
              self.logger.warn("Cannot report self to redis, not connected")
docs: Reports the crawler uuid to redis