Skip to content

Commit

Permalink
Revert "set max_header_delay to 5s (MystenLabs#2787)" (MystenLabs#2846)
Browse files Browse the repository at this point in the history
This reverts commit eccef17.
  • Loading branch information
lxfind authored Jun 29, 2022
1 parent a6156ae commit 62c2f80
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions crates/sui-config/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ use crate::{
};
use arc_swap::ArcSwap;
use debug_ignore::DebugIgnore;
use narwhal_config::{Authority, Parameters, PrimaryAddresses, Stake, WorkerAddresses};
use narwhal_config::{Authority, PrimaryAddresses, Stake, WorkerAddresses};
use rand::rngs::OsRng;
use std::time::Duration;
use std::{
collections::BTreeMap,
num::NonZeroUsize,
Expand Down Expand Up @@ -181,10 +180,7 @@ impl<R: ::rand::RngCore + ::rand::CryptoRng> ConfigBuilder<R> {
let consensus_config = ConsensusConfig {
consensus_address,
consensus_db_path,
narwhal_config: Parameters {
max_header_delay: Duration::from_secs(5),
..Default::default()
},
narwhal_config: Default::default(),
narwhal_committee: narwhal_committee.clone(),
};

Expand Down

0 comments on commit 62c2f80

Please sign in to comment.