File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
33
44[mysqld]
5- max_connections =1000
5+ max_connections =350
66
77#
88# Remove leading # and set to the amount of RAM for the most im`port`ant data
@@ -36,4 +36,4 @@ pid-file=/var/run/mysqld/mysqld.pid
3636socket =/var/run/mysqld/mysqld.sock
3737
3838!includedir /etc/mysql/conf.d/
39- !includedir /etc/mysql/mysql.conf.d/
39+ !includedir /etc/mysql/mysql.conf.d/
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const config = {
77 password : process . env . DB_PSWORD ,
88 database : process . env . DB_DATABASE ,
99 port : Number ( process . env . DB_PORT ) ,
10- connectionLimit : 1000 ,
10+ connectionLimit : 300 ,
1111} ;
1212
1313const mysqlPool = mysql . createPool ( config ) ;
You can’t perform that action at this time.
0 commit comments