Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gomicro-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizifeng
gomicro-base
Commits
3ea7d44f
Commit
3ea7d44f
authored
Jun 13, 2022
by
kzkzzzz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改默认配置
parent
3be8d617
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
config.yaml
service/member/config/config.yaml
+3
-3
config.yaml
service/wallet/config/config.yaml
+3
-3
No files found.
service/member/config/config.yaml
View file @
3ea7d44f
...
@@ -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
:
...
...
service/wallet/config/config.yaml
View file @
3ea7d44f
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment