Browse Source

Merge "Use stack_id of None for service timer"

changes/28/565628/1
Zuul 4 years ago committed by Gerrit Code Review
parent
commit
49a5e4d676
  1. 4
      heat/engine/service.py

4
heat/engine/service.py

@ -88,8 +88,8 @@ class ThreadGroupManager(object):
self.msg_queues = collections.defaultdict(list)
# Create dummy service task, because when there is nothing queued
# on self.tg the process exits
self.add_timer(cfg.CONF.periodic_interval, self._service_task)
# on any of the service's ThreadGroups, the process exits.
self.add_timer(None, self._service_task)
def _service_task(self):
"""Dummy task which gets queued on the service.Service threadgroup.

Loading…
Cancel
Save