fix: cap mysql connection pool

This commit is contained in:
richjohnrambo
2026-09-27 18:36:00 +08:00
parent 0edbc63bc1
commit 837a03a87e
2 changed files with 4 additions and 0 deletions
@@ -240,6 +240,8 @@ database:
link: "mysql:root:${MYSQL_PASSWORD}@tcp(mysql.118im.com:30306)/hotgo?loc=Local&parseTime=true&charset=utf8mb4"
debug: true
Prefix: "hg_"
maxOpen: 10
maxIdle: 5
cultivate:
link: "mysql:root:${MYSQL_PASSWORD}@tcp(127.0.0.1:3306)/cultivate?loc=Local&parseTime=true&charset=utf8mb4"
debug: true
+2
View File
@@ -240,6 +240,8 @@ database:
link: "$MYSQL_DSN"
debug: true
Prefix: "hg_"
maxOpen: 10
maxIdle: 5
cultivate: