Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bchocho committed Mar 14, 2024
1 parent 40ab4f8 commit 7eedd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/src/quorum_store/batch_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ impl BatchGenerator {
(since_last_non_empty_pull_ms as f64 / 1000.0 * dynamic_pull_txn_per_s as f64) as u64, 1);
let pull_max_txn = std::cmp::min(
dynamic_pull_max_txn,
self.config.sender_max_batch_txns as u64,
self.config.sender_max_total_txns as u64,
);
let batches = self.handle_scheduled_pull(pull_max_txn).await;
if !batches.is_empty() {
Expand Down

0 comments on commit 7eedd39

Please sign in to comment.