Adds start and stop work heartbeats. (#1188)

* Adds start and stop work heartbeats.

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Fix code after suggested changes

* Finalizing stops work on earlier lower blocks.

* Fix func parameter and flaky test

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Fedor Sakharov
2020-06-03 09:30:21 +03:00
committed by GitHub
parent 593fa2b0c1
commit fc45a8e673
4 changed files with 333 additions and 13 deletions
@@ -111,6 +111,7 @@ fn main() {
});
let (overseer, _handler) = Overseer::new(
vec![],
Box::new(Subsystem2),
Box::new(Subsystem1),
spawner,