lsc 1 month ago
parent
commit
769acd625c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      mysql.js

+ 2 - 2
mysql.js

@@ -16,8 +16,8 @@ us.mysqlconnection = function (host, database) {
         // let port = host == '123.58.32.152' ? 20330 : 20007;
         us.sqle[host] = us.sqle[host] || {};
         us.sqle[host][database] = us.mysql.createPool({
-            connectionLimit: 0,
-            queueLimit: 0,
+            connectionLimit: 100000,
+            queueLimit: 100000,
             host: host, //数据库地址
             // host: '123.58.32.151', //数据库地址
             user: "root", //用户名