Skip to content

Commit

Permalink
ignore proof backpressure for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bchocho committed Jan 8, 2025
1 parent 5eefd20 commit cf8952f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consensus/src/quorum_store/batch_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ impl BatchGenerator {
tick_start.duration_since(last_non_empty_pull).as_millis(),
self.config.batch_generation_max_interval_ms as u128
) as usize;
if (!self.back_pressure.proof_count
&& since_last_non_empty_pull_ms >= self.config.batch_generation_min_non_empty_interval_ms)
// TODO: completely ignoring proof count for now
if (since_last_non_empty_pull_ms >= self.config.batch_generation_min_non_empty_interval_ms)
|| since_last_non_empty_pull_ms == self.config.batch_generation_max_interval_ms {

let dynamic_pull_max_txn = std::cmp::max(
Expand Down

0 comments on commit cf8952f

Please sign in to comment.