Skip to content

Commit

Permalink
fix MAX_BATCH_SIZE const
Browse files Browse the repository at this point in the history
  • Loading branch information
NickKhalow committed Feb 25, 2025
1 parent 05643a3 commit fa4f820
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 fa4f820

Please sign in to comment.