|
@@ -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", //用户名
|