Agent: Add name to SocketsPipe thread

This commit is contained in:
Kekoa Kaaikala 2022-09-02 20:07:22 +00:00
parent 72144faefc
commit 5a8d8ccad5
1 changed files with 1 additions and 2 deletions

View File

@ -19,12 +19,11 @@ class SocketsPipe(Thread):
timeout=SOCKET_READ_TIMEOUT,
client_disconnected: Callable[[str], None] = None,
):
Thread.__init__(self)
self.source = source
self.dest = dest
self.timeout = timeout
self._keep_connection = True
super(SocketsPipe, self).__init__()
super().__init__(name=f"SocketsPipeThread-{self.ident}")
self.daemon = True
self._client_disconnected = client_disconnected