Fix forgot to initialize HostConnection._is_replacing
This commit is contained in:
@@ -282,6 +282,7 @@ class HostConnection(object):
|
|||||||
self.host_distance = host_distance
|
self.host_distance = host_distance
|
||||||
self._session = weakref.proxy(session)
|
self._session = weakref.proxy(session)
|
||||||
self._lock = Lock()
|
self._lock = Lock()
|
||||||
|
self._is_replacing = False
|
||||||
|
|
||||||
if host_distance == HostDistance.IGNORED:
|
if host_distance == HostDistance.IGNORED:
|
||||||
log.debug("Not opening connection to ignored host %s", self.host)
|
log.debug("Not opening connection to ignored host %s", self.host)
|
||||||
|
Reference in New Issue
Block a user