Add Exception handling, set min pool size to zero
This commit is contained in:
@@ -12,7 +12,7 @@ namespace MarketData.Utils
|
||||
/// <summary>SQlUtils - SQL utility class</summary>
|
||||
public class SqlUtils
|
||||
{
|
||||
private static readonly int MIN_POOL_SIZE=10;
|
||||
private static readonly int MIN_POOL_SIZE=0; // this will allow the connection pool to shrink for better utilization
|
||||
private static readonly int MAX_POOL_SIZE=100;
|
||||
public static readonly int COMMAND_TIMEOUT=300; // seconds
|
||||
private static readonly int CONNECTION_TIMEOUT=300; // seconds
|
||||
|
||||
Reference in New Issue
Block a user