@xuda.io/runtime-bundle 1.0.826 → 1.0.828
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27526,8 +27526,8 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
27526
27526
|
};
|
|
27527
27527
|
|
|
27528
27528
|
let last_job_in_queue = 0;
|
|
27529
|
-
let run_stat;
|
|
27530
|
-
const job_iterator = async function (
|
|
27529
|
+
// let run_stat;
|
|
27530
|
+
const job_iterator = async function () {
|
|
27531
27531
|
let from_job_num_to_run = last_job_in_queue;
|
|
27532
27532
|
last_job_in_queue = UI_WORKER_OBJ.num - from_job_num_to_run;
|
|
27533
27533
|
|
|
@@ -27543,7 +27543,6 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
27543
27543
|
break;
|
|
27544
27544
|
}
|
|
27545
27545
|
|
|
27546
|
-
console.log(testId);
|
|
27547
27546
|
// var _session = SESSION_OBJ[val.SESSION_ID];
|
|
27548
27547
|
// if (!UI_WORKER_OBJ.jobs[Number(key)] || val.job_num === 9999999)
|
|
27549
27548
|
// continue;
|
|
@@ -27558,6 +27557,7 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
27558
27557
|
// }
|
|
27559
27558
|
|
|
27560
27559
|
await func.UI.worker.execute(val.SESSION_ID, val);
|
|
27560
|
+
break;
|
|
27561
27561
|
} catch (err) {
|
|
27562
27562
|
console.error(err);
|
|
27563
27563
|
}
|
|
@@ -27570,18 +27570,18 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
27570
27570
|
this.attempt++;
|
|
27571
27571
|
}
|
|
27572
27572
|
// return job_iterator();
|
|
27573
|
-
run_stat = 0;
|
|
27573
|
+
// run_stat = 0;
|
|
27574
27574
|
};
|
|
27575
27575
|
// job_iterator();
|
|
27576
|
-
this._interval = setInterval(() => {
|
|
27577
|
-
|
|
27578
|
-
|
|
27579
|
-
|
|
27580
|
-
|
|
27581
|
-
|
|
27582
|
-
}, 10);
|
|
27576
|
+
// this._interval = setInterval(() => {
|
|
27577
|
+
// if (!run_stat) {
|
|
27578
|
+
// var testId = crypto.randomUUID();
|
|
27579
|
+
// run_stat = 1;
|
|
27580
|
+
// job_iterator(testId);
|
|
27581
|
+
// }
|
|
27582
|
+
// }, 10);
|
|
27583
27583
|
|
|
27584
|
-
|
|
27584
|
+
this._interval = setInterval(job_iterator, 1);
|
|
27585
27585
|
|
|
27586
27586
|
setInterval(async function () {
|
|
27587
27587
|
func.UI.ds_garbage_collector();
|