buildman: clarify queue metrics from job state metrics
This commit is contained in:
parent
ffb897dfe6
commit
935db5c766
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ class BuilderServer(object):
|
|||
|
||||
tasks = [
|
||||
Task(self._initialize(loop, host, websocket_port, controller_port, ssl)),
|
||||
Task(self._metrics_updater()),
|
||||
Task(self._queue_metrics_updater()),
|
||||
]
|
||||
|
||||
try:
|
||||
|
@ -179,7 +179,7 @@ class BuilderServer(object):
|
|||
self._queue.incomplete(job_item, restore_retry=True, retry_after=0)
|
||||
|
||||
@trollius.coroutine
|
||||
def _metrics_updater(self):
|
||||
def _queue_metrics_updater(self):
|
||||
while self._current_status == 'running':
|
||||
yield From(trollius.sleep(30))
|
||||
self._queue.update_metrics()
|
||||
|
|
Reference in a new issue