Skip to content

Commit

Permalink
Use 15 blocks as the unfinalized slack
Browse files Browse the repository at this point in the history
  • Loading branch information
keithtensor committed May 27, 2024
1 parent da7b41c commit 906864b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,10 @@ pub fn new_full(config: Configuration) -> Result<TaskManager, ServiceError> {

let role = config.role.clone();
let force_authoring = config.force_authoring;
let backoff_authoring_blocks = Some(BackoffAuthoringOnFinalizedHeadLagging::default());
let backoff_authoring_blocks = Some(BackoffAuthoringOnFinalizedHeadLagging {
unfinalized_slack: 15,
..Default::default()
});
let name = config.network.node_name.clone();
let enable_grandpa = !config.disable_grandpa;
let prometheus_registry = config.prometheus_registry().cloned();
Expand Down

0 comments on commit 906864b

Please sign in to comment.