update
This commit is contained in:
@ -32,6 +32,7 @@ database:
|
||||
max_idle_conns: 10
|
||||
max_open_conns: 100
|
||||
conn_max_lifetime: 3600 # 秒
|
||||
conn_max_idle_time: 60 # 秒,空闲连接回收时间;须 < MySQL wait_timeout,防止池子持有被回收的死连接导致 invalid connection
|
||||
|
||||
jwt:
|
||||
# 生产环境务必用环境变量覆盖为随机长字符串
|
||||
|
||||
Reference in New Issue
Block a user