From a884d25b67c2eef8bb1a828fa5f3bf7ba803d690 Mon Sep 17 00:00:00 2001 From: Moritz Sauter Date: Sun, 24 Dec 2023 12:01:21 +0100 Subject: [PATCH] Update src/paho/mqtt/client.py Co-authored-by: Pierre Fersing --- src/paho/mqtt/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paho/mqtt/client.py b/src/paho/mqtt/client.py index de4430b0..854f7df3 100644 --- a/src/paho/mqtt/client.py +++ b/src/paho/mqtt/client.py @@ -1794,7 +1794,7 @@ def loop_start(self): self._sockpairR, self._sockpairW = _socketpair_compat() self._thread_terminate = False - self._thread = threading.Thread(target=self._thread_main, name=self._client_id.decode()) + self._thread = threading.Thread(target=self._thread_main, name=f"paho-mqtt-client-{self._client_id.decode()}") self._thread.daemon = True self._thread.start()