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
+1
View File
@@ -3308,6 +3308,7 @@ dependencies = [
"futures-timer 3.0.2",
"kv-log-macro",
"log 0.4.8",
"polkadot-primitives",
"streamunordered",
]