Method DacConnectionPool():setMaxPoolSize() Foundation

Sets the maximum connection pool size.

Syntax
:setMaxPoolSize( <nMaxConnections> ) --> self
Parameters
<nMaxConnections>
Specifies the maximum number of connections allowed in the pool. This value defines the upper limit of concurrently available connections that the pool can manage.
Return

This method returns self.

Description

This method configures the maximum number of connections that can be stored in the connection pool. If the pool reaches this limit, the system will first attempt to free idle, unused connections to make room for new ones.

If no space can be made available in the pool, any call to the :acquire() method will return NIL, indicating that no connection could be provided.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.