|
@@ -15,7 +15,7 @@ const mysql = require('mysql2/promise');
|
|
|
const dbConfig = config.isDebug?config.debug_mysql:config.release_mysql
|
|
|
const taskdbConfig = config.isDebug?config.debug_task_mysql:config.release_task_mysql
|
|
|
|
|
|
-const time_count = 2000;
|
|
|
+const time_count = 1000;
|
|
|
const task_queue = []
|
|
|
|
|
|
async function processNewCreateTask(){
|
|
@@ -115,7 +115,7 @@ async function processNewCreateTask(){
|
|
|
if(connection!=null){
|
|
|
connection.end()
|
|
|
}
|
|
|
- global.setTimeout(processNewCreateTask, 500);
|
|
|
+ global.setTimeout(processNewCreateTask, time_count);
|
|
|
}
|
|
|
}
|
|
|
|