Skip to content

Commit

Permalink
Merge pull request #17 from NickKhalow/fix/max-batch-size
Browse files Browse the repository at this point in the history
fix MAX_BATCH_SIZE const
  • Loading branch information
irevoire authored Mar 5, 2025
2 parents 05643a3 + fa4f820 commit ee4e583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/batcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serde_json::{Map, Value};
use time::OffsetDateTime;

const MAX_MESSAGE_SIZE: usize = 1024 * 32;
const MAX_BATCH_SIZE: usize = 1024 * 512;
const MAX_BATCH_SIZE: usize = 1024 * 500;

/// A batcher can accept messages into an internal buffer, and report when
/// messages must be flushed.
Expand Down

0 comments on commit ee4e583

Please sign in to comment.