Boost C++ Libraries Home Libraries People FAQ More

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