We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2875253 commit 6e96c67Copy full SHA for 6e96c67
server/.db/etc/my.cnf
@@ -2,6 +2,8 @@
2
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
3
4
[mysqld]
5
+max_connections=1000
6
+
7
#
8
# Remove leading # and set to the amount of RAM for the most im`port`ant data
9
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
server/app/src/config/db.ts
@@ -7,7 +7,7 @@ const config = {
password: process.env.DB_PSWORD,
database: process.env.DB_DATABASE,
port: Number(process.env.DB_PORT),
10
- connectionLimit: 10,
+ connectionLimit: 1000,
11
};
12
13
const mysqlPool = mysql.createPool(config);
0 commit comments