Skip to content

Commit 552d50c

Browse files
authored
Merge pull request #416 from CnCNet/develop
Change mysql max_connections to 200
2 parents cd571eb + e6f7952 commit 552d50c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ services:
8282
image: mariadb:latest
8383
container_name: cncnet_ladder_mysql${ENV_SUFFIX}
8484
restart: unless-stopped
85-
command: --max_connections=500 --max_allowed_packet=128M --log_warnings=3 --wait_timeout=600 --slow-query-log --interactive_timeout=600 --long_query_time=2
85+
command: --max_connections=200 --max_allowed_packet=128M --log_warnings=3 --wait_timeout=600 --slow-query-log --interactive_timeout=600 --long_query_time=2
8686
environment:
8787
MYSQL_DATABASE: ${MYSQL_DATABASE}
8888
MYSQL_USER: ${MYSQL_USER}
@@ -138,4 +138,4 @@ volumes:
138138

139139
networks:
140140
cncnet:
141-
driver: bridge
141+
driver: bridge

0 commit comments

Comments
 (0)