Sometime I have this message:
What is the problem?Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
Regards.
What is the problem?Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
1. Clearing one pool:uniplan wrote:Can you post an example to do it?Another way to get extra connections is to clear one or all of the pools. Or you can turn connection pooling off using Pooling connection string parameter.
Code: Select all
Devart.Data.PostgreSql.PgSqlConnection.ClearPool(connObject);
Code: Select all
Devart.Data.PostgreSql.PgSqlConnection.ClearAllPools();