@xuda.io/runtime-bundle 1.0.825 → 1.0.827

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;
@@ -27556,6 +27558,7 @@ func.UI.worker.init = async function (SESSION_ID) {
27556
27558
  // }
27557
27559
 
27558
27560
  await func.UI.worker.execute(val.SESSION_ID, val);
27561
+ break;
27559
27562
  } catch (err) {
27560
27563
  console.error(err);
27561
27564
  }
@@ -27573,10 +27576,11 @@ func.UI.worker.init = async function (SESSION_ID) {
27573
27576
  // job_iterator();
27574
27577
  this._interval = setInterval(() => {
27575
27578
  if (!run_stat) {
27579
+ var testId = crypto.randomUUID();
27576
27580
  run_stat = 1;
27577
- job_iterator();
27581
+ job_iterator(testId);
27578
27582
  }
27579
- }, 1);
27583
+ }, 10);
27580
27584
 
27581
27585
  // this._interval = setInterval(job_iterator, 1);
27582
27586