Kaynağa Gözat

更新说明

zhontai 2 yıl önce
ebeveyn
işleme
235386ef49

+ 2 - 2
src/hosts/ZhonTai.Host/Configs/dbconfig.json

@@ -66,8 +66,8 @@
     //}
   ],
 
-  //空闲时间(分),若<=0或null则不自动回收
-  "idleTime": 0,
+  //空闲时间(分),设置idleTime=0则不自动回收
+  "idleTime": 10,
 
   //多数据库
   //定义DbKeys枚举

+ 1 - 1
src/platform/ZhonTai.Admin/Core/Configs/DbConfig.cs

@@ -94,7 +94,7 @@ public class DbConfig
     public bool Curd { get; set; } = false;
 
     /// <summary>
-    /// 空闲时间(分)
+    /// 空闲时间(分),默认10分钟,设置idleTime=0则不自动回收
     /// </summary>
     public int? IdleTime { get; set; } = 10;