Commit 508715db by haojie

1

parent 958fd6c4
...@@ -123,11 +123,11 @@ async function run() { ...@@ -123,11 +123,11 @@ async function run() {
while (status) { while (status) {
let cur_time = new Date().valueOf(); let cur_time = new Date().valueOf();
// 一天关一次 // 一天关一次
if (cur_time - start_time >= max_runing_time) { // if (cur_time - start_time >= max_runing_time) {
// 结束 // // 结束
status = false; // status = false;
break; // break;
} // }
// 获取队列任务 // 获取队列任务
let task = await get_task(); let task = await get_task();
if (task) { if (task) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment