- 优化 IdleTimeout 默认值为 20 秒; #194

This commit is contained in:
28810
2020-01-21 11:53:43 +08:00
parent fc4071b730
commit 6a7b7bed87
11 changed files with 11 additions and 11 deletions

View File

@ -70,7 +70,7 @@ namespace FreeSql.Odbc.Oracle
public string Name { get; set; } = "Oracle OdbcConnection 对象池";
public int PoolSize { get; set; } = 100;
public TimeSpan SyncGetTimeout { get; set; } = TimeSpan.FromSeconds(10);
public TimeSpan IdleTimeout { get; set; } = TimeSpan.Zero;
public TimeSpan IdleTimeout { get; set; } = TimeSpan.FromSeconds(20);
public int AsyncGetCapacity { get; set; } = 10000;
public bool IsThrowGetTimeoutException { get; set; } = true;
public int CheckAvailableInterval { get; set; } = 5;