Merge "Use stack_id of None for service timer"

This commit is contained in:
Zuul 2018-05-01 22:27:42 +00:00 committed by Gerrit Code Review
commit 49a5e4d676
1 changed files with 2 additions and 2 deletions

View File

@ -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.