MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / _retrying_replace

Method _retrying_replace

cassandra/pool.py:866–874  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

864 connection.close()
865
866 def _retrying_replace(self):
867 replaced = False
868 try:
869 replaced = self._add_conn_if_under_max()
870 except Exception:
871 log.exception("Failed replacing connection to %s", self.host)
872 if not replaced:
873 log.debug("Failed replacing connection to %s. Retrying.", self.host)
874 self._session.submit(self._retrying_replace)
875
876 def shutdown(self):
877 with self._lock:

Callers

nothing calls this directly

Calls 2

submitMethod · 0.45

Tested by

no test coverage detected