Skip to content

Commit

Permalink
Merge pull request #7810 from planetscale/vttestserver-container-max-…
Browse files Browse the repository at this point in the history
…connections

docker/vttestserver:  Set max_connections in default-fast.cnf at container build time
  • Loading branch information
deepthi authored Apr 8, 2021
2 parents d52d854 + f2b4075 commit aa53ba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/vttestserver/Dockerfile.mysql57
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ USER vitess

COPY docker/vttestserver/setup_vschema_folder.sh /vt/setup_vschema_folder.sh
COPY docker/vttestserver/run.sh /vt/run.sh
RUN bash -c 'echo "max_connections = 1000"' >> /vt/config/mycnf/default-fast.cnf

CMD /vt/run.sh "5.7.9-vitess"
1 change: 1 addition & 0 deletions docker/vttestserver/Dockerfile.mysql80
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ USER vitess

COPY docker/vttestserver/setup_vschema_folder.sh /vt/setup_vschema_folder.sh
COPY docker/vttestserver/run.sh /vt/run.sh
RUN bash -c 'echo "max_connections = 1000"' >> /vt/config/mycnf/default-fast.cnf

CMD /vt/run.sh "8.0.21-vitess"

0 comments on commit aa53ba5

Please sign in to comment.