Skip to content

Commit fa4f820

Browse files
committed
fix MAX_BATCH_SIZE const
1 parent 05643a3 commit fa4f820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/batcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use serde_json::{Map, Value};
66
use time::OffsetDateTime;
77

88
const MAX_MESSAGE_SIZE: usize = 1024 * 32;
9-
const MAX_BATCH_SIZE: usize = 1024 * 512;
9+
const MAX_BATCH_SIZE: usize = 1024 * 500;
1010

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

0 commit comments

Comments
 (0)