소스 검색

Merged in FD3-424 (pull request #29)

FD3-424 env MYSQL_MAX_CONNECTIONS=10000
Guillermo Espinoza 7 년 전
부모
커밋
873cc70455
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      tools/src/Release.php

+ 4 - 1
tools/src/Release.php

@@ -95,6 +95,7 @@ class Release extends Command
         $this->_mysql_user = "iksop";
         $this->_mysql_pass = "235r2342gtfsw";
         $this->_mysql_root_pass = "235r2342gtfsw";
+        $this->_mysql_max_connections = 10000;
         $this->_docker_restart_default = "on-failure:10";
         $this->_user_system = ['users' =>
             [
@@ -635,7 +636,9 @@ class Release extends Command
             array(
                 "MYSQL_ROOT_PASSWORD" => $this->_mysql_root_pass,
                 "MYSQL_USER" => $this->_mysql_user,
-                "MYSQL_PASSWORD" => $this->_mysql_pass));
+                "MYSQL_PASSWORD" => $this->_mysql_pass,
+                "MYSQL_MAX_CONNECTIONS" => $this->_mysql_max_connections,
+        ));
     }
 
     function addRedis(FileFormat2 $composer, $config = array(), $flavor = "dev")