DOKK / manpages / debian 10 / libmongoc-doc / mongoc_client_pool_max_size.3.en
MONGOC_CLIENT_POOL_MAX_SIZE(3) MongoDB C Driver MONGOC_CLIENT_POOL_MAX_SIZE(3)

mongoc_client_pool_max_size - mongoc_client_pool_max_size()

void
mongoc_client_pool_min_size (mongoc_client_pool_t *pool,

uint32_t max_pool_size);


This function sets the maximum number of pooled connections available from a mongoc_client_pool_t.

  • pool: A mongoc_client_pool_t.
  • max_pool_size: The maximum number of connections which shall be available from the pool.

This function is safe to call from multiple threads.

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0