forked from p15670423/monkey
Agent: Add name to SocketsPipe thread
This commit is contained in:
parent
72144faefc
commit
5a8d8ccad5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue