Skip to content

Commit 20a071a

Browse files
authored
update default value in docs (#843)
1 parent 6bc8422 commit 20a071a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client/options/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ pub struct ClientOptions {
447447
/// `max_pool_size` connections are checked out, the operation will block until an in-progress
448448
/// operation finishes and its connection is checked back into the pool.
449449
///
450-
/// The default value is 100.
450+
/// The default value is 10.
451451
#[builder(default)]
452452
pub max_pool_size: Option<u32>,
453453

src/event/cmap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub struct ConnectionPoolOptions {
6060
/// The maximum number of connections that the pool can have at a given time. This includes
6161
/// connections which are currently checked out of the pool.
6262
///
63-
/// The default is 100.
63+
/// The default is 10.
6464
pub max_pool_size: Option<u32>,
6565

6666
/// The minimum number of connections that the pool can have at a given time. This includes

0 commit comments

Comments
 (0)