From ee03622019d0a89681788a7a9c4fc907475823cc Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Fri, 7 Jun 2024 13:35:57 +0300 Subject: [PATCH] Fix `subscription_capacity` documenttion default value --- async-nats/src/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async-nats/src/options.rs b/async-nats/src/options.rs index 2d5c2bb8d..d58f5f032 100644 --- a/async-nats/src/options.rs +++ b/async-nats/src/options.rs @@ -606,7 +606,7 @@ impl ConnectOptions { /// Sets the capacity for `Subscribers`. Exceeding it will trigger `slow consumer` error /// callback and drop messages. - /// Default is set to 1024 messages buffer. + /// Default is set to 65536 messages buffer. /// /// # Examples /// ```no_run