Skip to content

Commit

Permalink
Update src/paho/mqtt/client.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Fersing <pierref@pierref.org>
  • Loading branch information
mosauter and PierreF authored Dec 24, 2023
1 parent c837276 commit a884d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/paho/mqtt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit a884d25

Please sign in to comment.