Commit 3ea7d44f authored by kzkzzzz's avatar kzkzzzz

feat: 修改默认配置

parent 3be8d617
...@@ -9,9 +9,9 @@ Server: ...@@ -9,9 +9,9 @@ Server:
Mysql: Mysql:
Dsn: master:Xt6fW2rNRvYZjtYW@tcp(rm-j6c982j8ih8x3d2yz2o.mysql.rds.aliyuncs.com:3306)/master?loc=Local&charset=utf8mb4&writeTimeout=3s&readTimeout=3s&timeout=2s&parseTime=true Dsn: master:Xt6fW2rNRvYZjtYW@tcp(rm-j6c982j8ih8x3d2yz2o.mysql.rds.aliyuncs.com:3306)/master?loc=Local&charset=utf8mb4&writeTimeout=3s&readTimeout=3s&timeout=2s&parseTime=true
MaxConn: 8 MaxConn: 16 # 连接池最大连接数
MaxIdleConn: 2 MaxIdleConn: 4 # 连接池最小连接数
MaxLifetime: 1800 # 连接有效时间,单位秒 MaxLifetime: 1800 # 连接池内连接有效时间,单位秒
Debug: true Debug: true
Redis: Redis:
......
...@@ -12,9 +12,9 @@ Client: ...@@ -12,9 +12,9 @@ Client:
Mysql: Mysql:
Dsn: master:Xt6fW2rNRvYZjtYW@tcp(rm-j6c982j8ih8x3d2yz2o.mysql.rds.aliyuncs.com:3306)/master?loc=Local&charset=utf8mb4&writeTimeout=3s&readTimeout=3s&timeout=2s&parseTime=true Dsn: master:Xt6fW2rNRvYZjtYW@tcp(rm-j6c982j8ih8x3d2yz2o.mysql.rds.aliyuncs.com:3306)/master?loc=Local&charset=utf8mb4&writeTimeout=3s&readTimeout=3s&timeout=2s&parseTime=true
MaxConn: 8 MaxConn: 16 # 连接池最大连接数
MaxIdleConn: 2 MaxIdleConn: 4 # 连接池最小连接数
MaxLifetime: 1800 # 连接有效时间,单位秒 MaxLifetime: 1800 # 连接池内连接有效时间,单位秒
Debug: true Debug: true
Redis: Redis:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment