@xuda.io/runtime-bundle 1.0.827 → 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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -8436,8 +8436,8 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
8436
8436
|
};
|
|
8437
8437
|
|
|
8438
8438
|
let last_job_in_queue = 0;
|
|
8439
|
-
let run_stat;
|
|
8440
|
-
const job_iterator = async function (
|
|
8439
|
+
// let run_stat;
|
|
8440
|
+
const job_iterator = async function () {
|
|
8441
8441
|
let from_job_num_to_run = last_job_in_queue;
|
|
8442
8442
|
last_job_in_queue = UI_WORKER_OBJ.num - from_job_num_to_run;
|
|
8443
8443
|
|
|
@@ -8453,7 +8453,6 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
8453
8453
|
break;
|
|
8454
8454
|
}
|
|
8455
8455
|
|
|
8456
|
-
console.log(testId);
|
|
8457
8456
|
// var _session = SESSION_OBJ[val.SESSION_ID];
|
|
8458
8457
|
// if (!UI_WORKER_OBJ.jobs[Number(key)] || val.job_num === 9999999)
|
|
8459
8458
|
// continue;
|
|
@@ -8481,18 +8480,18 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
8481
8480
|
this.attempt++;
|
|
8482
8481
|
}
|
|
8483
8482
|
// return job_iterator();
|
|
8484
|
-
run_stat = 0;
|
|
8483
|
+
// run_stat = 0;
|
|
8485
8484
|
};
|
|
8486
8485
|
// job_iterator();
|
|
8487
|
-
this._interval = setInterval(() => {
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
}, 10);
|
|
8486
|
+
// this._interval = setInterval(() => {
|
|
8487
|
+
// if (!run_stat) {
|
|
8488
|
+
// var testId = crypto.randomUUID();
|
|
8489
|
+
// run_stat = 1;
|
|
8490
|
+
// job_iterator(testId);
|
|
8491
|
+
// }
|
|
8492
|
+
// }, 10);
|
|
8494
8493
|
|
|
8495
|
-
|
|
8494
|
+
this._interval = setInterval(job_iterator, 1);
|
|
8496
8495
|
|
|
8497
8496
|
setInterval(async function () {
|
|
8498
8497
|
func.UI.ds_garbage_collector();
|
|
@@ -8437,8 +8437,8 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
8437
8437
|
};
|
|
8438
8438
|
|
|
8439
8439
|
let last_job_in_queue = 0;
|
|
8440
|
-
let run_stat;
|
|
8441
|
-
const job_iterator = async function (
|
|
8440
|
+
// let run_stat;
|
|
8441
|
+
const job_iterator = async function () {
|
|
8442
8442
|
let from_job_num_to_run = last_job_in_queue;
|
|
8443
8443
|
last_job_in_queue = UI_WORKER_OBJ.num - from_job_num_to_run;
|
|
8444
8444
|
|
|
@@ -8454,7 +8454,6 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
8454
8454
|
break;
|
|
8455
8455
|
}
|
|
8456
8456
|
|
|
8457
|
-
console.log(testId);
|
|
8458
8457
|
// var _session = SESSION_OBJ[val.SESSION_ID];
|
|
8459
8458
|
// if (!UI_WORKER_OBJ.jobs[Number(key)] || val.job_num === 9999999)
|
|
8460
8459
|
// continue;
|
|
@@ -8482,18 +8481,18 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
8482
8481
|
this.attempt++;
|
|
8483
8482
|
}
|
|
8484
8483
|
// return job_iterator();
|
|
8485
|
-
run_stat = 0;
|
|
8484
|
+
// run_stat = 0;
|
|
8486
8485
|
};
|
|
8487
8486
|
// job_iterator();
|
|
8488
|
-
this._interval = setInterval(() => {
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
}, 10);
|
|
8487
|
+
// this._interval = setInterval(() => {
|
|
8488
|
+
// if (!run_stat) {
|
|
8489
|
+
// var testId = crypto.randomUUID();
|
|
8490
|
+
// run_stat = 1;
|
|
8491
|
+
// job_iterator(testId);
|
|
8492
|
+
// }
|
|
8493
|
+
// }, 10);
|
|
8495
8494
|
|
|
8496
|
-
|
|
8495
|
+
this._interval = setInterval(job_iterator, 1);
|
|
8497
8496
|
|
|
8498
8497
|
setInterval(async function () {
|
|
8499
8498
|
func.UI.ds_garbage_collector();
|