control_service class expects to have only one heartbeat thread.
But the service launchs a heartbeat thread everytime when
control_bus.start() is called. Thus control_bus has 3 methods
and sends 3 heartbeat messages always.
This adds a barrier to stop creating extra heartbeat threads in the class.
Reviewed: https:/ /review. openstack. org/371012 /git.openstack. org/cgit/ openstack/ congress/ commit/ ?id=3785f810b5c 59ff2ad2666de79 4c067e3733c90e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3785f810b5c59ff 2ad2666de794c06 7e3733c90e
Author: Masahito Muroi <email address hidden>
Date: Fri Sep 16 02:20:35 2016 +0900
control_bus service has only 1 heartbeat thread
control_service class expects to have only one heartbeat thread. bus.start( ) is called. Thus control_bus has 3 methods
But the service launchs a heartbeat thread everytime when
control_
and sends 3 heartbeat messages always.
This adds a barrier to stop creating extra heartbeat threads in the class.
Change-Id: I28f06eef3548e0 7367a3c37578921 12a87391ce5
Closes-Bug: #1622865