@xuda.io/runtime-bundle 1.0.820 → 1.0.822

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.
@@ -8476,10 +8476,14 @@ func.UI.worker.init = async function (SESSION_ID) {
8476
8476
 
8477
8477
  this.attempt++;
8478
8478
  }
8479
- await job_iterator();
8479
+ // return await job_iterator();
8480
8480
  };
8481
8481
  job_iterator();
8482
- // this._interval = setInterval(job_iterator, 1);
8482
+ this._interval = setInterval(() => {
8483
+ if (typeof UI_WORKER_OBJ.stat === 'undefined' || UI_WORKER_OBJ.stat === 'undefined' || UI_WORKER_OBJ.stat === null) {
8484
+ job_iterator();
8485
+ }
8486
+ }, 1);
8483
8487
 
8484
8488
  setInterval(async function () {
8485
8489
  func.UI.ds_garbage_collector();
@@ -8755,7 +8759,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8755
8759
  // }, 1000);
8756
8760
  }
8757
8761
  setTimeout(async () => {
8758
- // return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8762
+ return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8759
8763
  }, 10000);
8760
8764
  },
8761
8765
  };
@@ -8477,10 +8477,14 @@ func.UI.worker.init = async function (SESSION_ID) {
8477
8477
 
8478
8478
  this.attempt++;
8479
8479
  }
8480
- await job_iterator();
8480
+ // return await job_iterator();
8481
8481
  };
8482
8482
  job_iterator();
8483
- // this._interval = setInterval(job_iterator, 1);
8483
+ this._interval = setInterval(() => {
8484
+ if (typeof UI_WORKER_OBJ.stat === 'undefined' || UI_WORKER_OBJ.stat === 'undefined' || UI_WORKER_OBJ.stat === null) {
8485
+ job_iterator();
8486
+ }
8487
+ }, 1);
8484
8488
 
8485
8489
  setInterval(async function () {
8486
8490
  func.UI.ds_garbage_collector();
@@ -8756,7 +8760,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8756
8760
  // }, 1000);
8757
8761
  }
8758
8762
  setTimeout(async () => {
8759
- // return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8763
+ return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8760
8764
  }, 10000);
8761
8765
  },
8762
8766
  };