mirror of
https://gitee.com/johng/gf.git
synced 2024-12-03 04:37:49 +08:00
update default ConnMaxLifeTime to 30 seconds in gdb package
This commit is contained in:
parent
f97bed2607
commit
26f2c61068
@ -146,7 +146,7 @@ const (
|
||||
OPTION_SAVE = 2
|
||||
OPTION_IGNORE = 3
|
||||
// 默认的连接池连接存活时间(秒)
|
||||
gDEFAULT_CONN_MAX_LIFE = 10
|
||||
gDEFAULT_CONN_MAX_LIFE = 30
|
||||
)
|
||||
|
||||
// 使用默认/指定分组配置进行连接,数据库集群配置项:default
|
||||
|
Loading…
Reference in New Issue
Block a user