Skip to content

Commit

Permalink
added empty_sc_block_timeout_s to CollationConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
SmaGMan committed Nov 11, 2024
1 parent 9cf3954 commit 293cc18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/models/config/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ pub struct CollationConfig {

/// Params to calculate the collation work in wu.
pub work_units_params: WorkUnitsParams,

/// Collate empty shard block
/// when there are no messages during this timeout
pub empty_sc_block_timeout_s: u16,
}

/// Messages execution params.
Expand Down
2 changes: 1 addition & 1 deletion src/models/config/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use super::*;
use crate::boc::BocRepr;
use crate::prelude::Boc;

#[cfg(not(feature = "tycho"))]
Expand Down Expand Up @@ -335,6 +334,7 @@ fn create_config() {
#[cfg(not(feature = "tycho"))]
#[test]
fn validator_subset() {
use crate::boc::BocRepr;
use crate::models::{ShardIdent, ShardStateUnsplit};

let master_state =
Expand Down

0 comments on commit 293cc18

Please sign in to comment.