Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 16d6f37

Browse files
montekkibkchr
andauthored
Adds start and stop work heartbeats. (#1188)
* Adds start and stop work heartbeats. * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Fix code after suggested changes * Finalizing stops work on earlier lower blocks. * Fix func parameter and flaky test Co-authored-by: Bastian Köcher <[email protected]>
1 parent 280c6c2 commit 16d6f37

File tree

4 files changed

+333
-13
lines changed

4 files changed

+333
-13
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

overseer/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ futures = "0.3.5"
99
log = "0.4.8"
1010
futures-timer = "3.0.2"
1111
streamunordered = "0.5.1"
12+
polkadot-primitives = { path = "../primitives" }
1213

1314
[dev-dependencies]
1415
futures = { version = "0.3.5", features = ["thread-pool"] }

overseer/examples/minimal-example.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ fn main() {
111111
});
112112

113113
let (overseer, _handler) = Overseer::new(
114+
vec![],
114115
Box::new(Subsystem2),
115116
Box::new(Subsystem1),
116117
spawner,

0 commit comments

Comments
 (0)