Skip to content

Commit

Permalink
Further reduce worker pings
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu committed Oct 23, 2023
1 parent 8cd8724 commit 14803e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/bft/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub const MAX_WORKERS: u8 = 1; // workers
/// The frequency at which each primary broadcasts a ping to every other node.
pub const PRIMARY_PING_INTERVAL: u64 = 2 * MAX_BATCH_DELAY; // ms
/// The frequency at which each worker broadcasts a ping to every other node.
pub const WORKER_PING_INTERVAL: u64 = 2 * MAX_BATCH_DELAY; // ms
pub const WORKER_PING_INTERVAL: u64 = 4 * MAX_BATCH_DELAY; // ms

/// A helper macro to spawn a blocking task.
#[macro_export]
Expand Down

0 comments on commit 14803e7

Please sign in to comment.