fix: cap mysql connection pool
This commit is contained in:
@@ -240,6 +240,8 @@ database:
|
|||||||
link: "mysql:root:${MYSQL_PASSWORD}@tcp(mysql.118im.com:30306)/hotgo?loc=Local&parseTime=true&charset=utf8mb4"
|
link: "mysql:root:${MYSQL_PASSWORD}@tcp(mysql.118im.com:30306)/hotgo?loc=Local&parseTime=true&charset=utf8mb4"
|
||||||
debug: true
|
debug: true
|
||||||
Prefix: "hg_"
|
Prefix: "hg_"
|
||||||
|
maxOpen: 10
|
||||||
|
maxIdle: 5
|
||||||
cultivate:
|
cultivate:
|
||||||
link: "mysql:root:${MYSQL_PASSWORD}@tcp(127.0.0.1:3306)/cultivate?loc=Local&parseTime=true&charset=utf8mb4"
|
link: "mysql:root:${MYSQL_PASSWORD}@tcp(127.0.0.1:3306)/cultivate?loc=Local&parseTime=true&charset=utf8mb4"
|
||||||
debug: true
|
debug: true
|
||||||
|
|||||||
@@ -240,6 +240,8 @@ database:
|
|||||||
link: "$MYSQL_DSN"
|
link: "$MYSQL_DSN"
|
||||||
debug: true
|
debug: true
|
||||||
Prefix: "hg_"
|
Prefix: "hg_"
|
||||||
|
maxOpen: 10
|
||||||
|
maxIdle: 5
|
||||||
|
|
||||||
|
|
||||||
cultivate:
|
cultivate:
|
||||||
|
|||||||
Reference in New Issue
Block a user