@xuda.io/runtime-bundle 1.0.825 → 1.0.826

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.
@@ -27527,7 +27527,7 @@ func.UI.worker.init = async function (SESSION_ID) {
27527
27527
 
27528
27528
  let last_job_in_queue = 0;
27529
27529
  let run_stat;
27530
- const job_iterator = async function () {
27530
+ const job_iterator = async function (testId) {
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
 
@@ -27542,6 +27542,8 @@ func.UI.worker.init = async function (SESSION_ID) {
27542
27542
  if (val.stat) {
27543
27543
  break;
27544
27544
  }
27545
+
27546
+ console.log(testId);
27545
27547
  // var _session = SESSION_OBJ[val.SESSION_ID];
27546
27548
  // if (!UI_WORKER_OBJ.jobs[Number(key)] || val.job_num === 9999999)
27547
27549
  // continue;
@@ -27573,10 +27575,11 @@ func.UI.worker.init = async function (SESSION_ID) {
27573
27575
  // job_iterator();
27574
27576
  this._interval = setInterval(() => {
27575
27577
  if (!run_stat) {
27578
+ var testId = crypto.randomUUID();
27576
27579
  run_stat = 1;
27577
- job_iterator();
27580
+ job_iterator(testId);
27578
27581
  }
27579
- }, 1);
27582
+ }, 10);
27580
27583
 
27581
27584
  // this._interval = setInterval(job_iterator, 1);
27582
27585