Skip to content

Commit

Permalink
block size
Browse files Browse the repository at this point in the history
  • Loading branch information
danielxiangzl committed Nov 23, 2024
1 parent fd56d72 commit f6ecbe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/src/config/consensus_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ use serde::{Deserialize, Serialize};
use std::path::PathBuf;

// NOTE: when changing, make sure to update QuorumStoreBackPressureConfig::backlog_txn_limit_count as well.
const MAX_SENDING_BLOCK_TXNS_AFTER_FILTERING: u64 = 1500;
const MAX_SENDING_BLOCK_TXNS: u64 = 3500;
const MAX_SENDING_BLOCK_TXNS_AFTER_FILTERING: u64 = 3000;
const MAX_SENDING_BLOCK_TXNS: u64 = 7000;
pub(crate) static MAX_RECEIVING_BLOCK_TXNS: Lazy<u64> =
Lazy::new(|| 10000.max(2 * MAX_SENDING_BLOCK_TXNS));
// stop reducing size at this point, so 1MB transactions can still go through
Expand Down

0 comments on commit f6ecbe8

Please sign in to comment.