数据库添加索引;update
This commit is contained in:
3
watch.js
3
watch.js
@@ -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');
|
||||
|
Reference in New Issue
Block a user