[Common] LogFilePath = logs Local = zh [ApiServer] Port = 11000 ReadTimeOut = 60 WriteTimeOut = 60 [Rds] Type = mysql Host = localhost #Host = 192.168.1.181 Name = epur-pay Port = 3306 User = root #PassWord = `fadsfsfsdfds12TTckc3ofsd123.,123.,,,...addf1jjjOO&6&^!@#!@#` PassWord = `tG0f6PVYh18le41BCb` CharSet = utf8mb4 #空闲连接池中连接的最大数量 MaxIdleConns = 10 #打开数据库连接的最大数量 MaxOpenConns = 20 #慢日志打印时间(ms) SlowThreshold = 100 [Redis] Type = redis #Host = 8.217.170.205 #Host = 192.168.1.181 Host = localhost Port = 6379 ; PassWord = `afasdf12313%%%^^^^` Name = default MaxIdle = 10 ### #连接池在给定时间分配的最大连接数。 #当为零时,池中的连接数没有限制。 ### MaxActive = 20 #读超时时间 ReadTimeout = 2 #写超时时间 WriteTimeout = 60 #连接超时时间 ConnectTimeout = 2 ### #在此期间保持空闲状态后关闭连接。如果值 #为零,则空闲连接未关闭。应设置应用程序 #超时值小于服务器的超时值。 ### IdleTimeout = 60