Method DacConnectionPool():setMaxIdleTime() Foundation

Sets the idle timeout for the connection.

Syntax
:setMaxIdleTime( <nTimeout> ) --> self
Parameters
<nTimeout>
The timeout duration in minutes. If not specified, the default value is 15 min. Ensure the value is appropriate for your use case, considering application requirements and network stability.
Return

This method returns self.

Description

Configures the idle timeout duration for a connection. If the connection remains inactive for the specified period, it will be automatically disconnected and its resources will be released. This helps to free up resources and maintain system efficiency by avoiding unused active connections.

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.