Skip to content

Commit

Permalink
bump client_capacity to 1024
Browse files Browse the repository at this point in the history
  • Loading branch information
paolobarbolini committed Aug 9, 2023
1 parent f40cf63 commit 365d10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pub(crate) fn from_tls_auth_config(
Some(auth) => auth.to_nats_options()?,
};

let nats_options = nats_options.name(connection_name);
let nats_options = nats_options.client_capacity(1024).name(connection_name);

match tls_config {
None => Ok(nats_options),
Expand Down

0 comments on commit 365d10a

Please sign in to comment.