Tick m evaluation completes in the mass rebuildere

This commit is contained in:
Graham Christensen 2018-02-12 08:21:14 -05:00
parent d749fe5f4d
commit cdb88316b9
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
2 changed files with 7 additions and 0 deletions

View file

@ -266,6 +266,11 @@ fn events() -> Vec<MetricType> {
"Number of failed fetches for GitHub issues",
None,
),
Metric::ticker(
"TaskEvaluationCheckComplete",
"Number of completed evaluation tasks",
None,
),
/*
Metric::counter(
"TimeElapsed",

View file

@ -510,6 +510,8 @@ impl<E: stats::SysEvents + 'static> worker::SimpleWorker for MassRebuildWorker<E
);
}
self.events.notify(Event::TaskEvaluationCheckComplete);
return self.actions().done(&job, response);
}
}