Skip to content

Commit 9b8855d

Browse files
committed
Configure expected_replicas to avoid running tasks with unexpected replicas.
1 parent abcff8a commit 9b8855d

File tree

3 files changed

+467
-4
lines changed

3 files changed

+467
-4
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ impl LighthouseServer {
643643
join_timeout_ms,
644644
quorum_tick_ms,
645645
heartbeat_timeout_ms,
646+
expected_replicas: None,
646647
}))
647648
.map_err(|e| PyRuntimeError::new_err(e.to_string()))?;
648649

0 commit comments

Comments
 (0)