数据库缓存增加设置

This commit is contained in:
hoteas
2019-05-27 17:01:13 +00:00
parent 374e0ab2ac
commit 060b74f94c
3 changed files with 20 additions and 6 deletions
+1
View File
@@ -16,6 +16,7 @@ var Config = Map{
"dbUser": "root",
"dbPwd": "root",
"dbPort": "3306",
"dbCached":0,//0不开启缓存
"port": "0",
"cacheShortTime": 60 * 60 * 2,
"cacheLongTime": 60 * 60 * 24 * 30,