Add thread name to the RabbitMQ heartbeat thread
With this information it is easier to debug the application. Change-Id: Icafae894ede54d8e802aef556e4239408cc23bcd
This commit is contained in:
parent
fe0ac3195e
commit
da6caaef07
@ -898,7 +898,7 @@ class Connection(object):
|
||||
if self._heartbeat_supported_and_enabled():
|
||||
self._heartbeat_exit_event = eventletutils.Event()
|
||||
self._heartbeat_thread = threading.Thread(
|
||||
target=self._heartbeat_thread_job)
|
||||
target=self._heartbeat_thread_job, name="Rabbit-heartbeat")
|
||||
self._heartbeat_thread.daemon = True
|
||||
self._heartbeat_thread.start()
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user