1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

数据库添加索引;update

This commit is contained in:
2022-10-05 11:41:30 +08:00
parent 50d3555dd7
commit b35918faef
9 changed files with 159 additions and 95 deletions

View File

@@ -1,10 +1,11 @@
let keepWatching = true;
if (keepWatching) {
global.useMysqlPool = true;
global.connectionLimit = 1;
global.connectionLimit = 15;
} else {
global.useMysqlPool = false;
}
global.dbConfig = 'mysql_local';
const neteaseMusic = require('./netease_music/index');
const sleepUtils = require('./utils/sleepUtils');