PoolIdleTimeout
Specifies the maximum idle time, in seconds, that a connection can remain in the pool before being closed.
Data Type
int
Default Value
60
Remarks
This property is applicable only when UseConnectionPooling is enabled. Connection pooling is a mechanism that reuses established database connections rather than creating a new one for each request. This improves performance by reducing the overhead associated with frequent connection creation.
PoolIdleTimeout is helpful to manage resources by closing unused connections, reducing potential overhead from maintaining idle connections. Lower values ensure quicker cleanup of idle connections, while higher values keep connections open longer, which may improve performance in scenarios with frequent reconnections.