You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.0 KiB

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