code: def _attempt_set_timeout(self, timeout):
      
      try:
        self.client.setTimeout(timeout)
      except Exception:
        self._logger.debug('failed to set post-startup watchman timeout to %s', self._timeout)
      else:
        self._logger.debug('set post-startup watchman timeout to %s', self._timeout)
docs: Sets a timeout on the inner watchman client's socket.