recreate client during reset()

This patch re-creates the client object during a client.reset() call.
This commit is contained in:
Hemna 2023-09-01 15:13:50 -04:00
parent 4b56e99689
commit 008b2ab09e
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ class Client(metaclass=trace.TraceWrapperMetaclass):
else:
LOG.warning("Client not initialized, nothing to reset.")
# Recreate the client
LOG.info(f"Creating new client {self.client}")
@abc.abstractmethod
def setup_connection(self):
pass