Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
pool_params::max_size

Max number of connections to create.

Synopsis
std::size_t max_size {151};
Description

When a connection is requested, but all connections are in use, new connections will be created and connected up to this size.

Defaults to the maximum number of concurrent connections that MySQL servers allow by default. If you increase this value, increase the server's max number of connections, too (by setting the max_connections global variable).

This value must be > 0 and >= initial_size.


PrevUpHomeNext