Skip to content

Commit

Permalink
add max bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
yufansong committed Sep 18, 2023
1 parent ddbf1f3 commit dd8cfdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/connector/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ impl NatsCommon {
let mut config = jetstream::stream::Config {
// the subject default use name value
name: self.subject.clone(),
max_bytes: 1000000,
..Default::default()
};
if let Some(v) = self.max_bytes {
Expand Down

0 comments on commit dd8cfdf

Please sign in to comment.