@xuda.io/runtime-bundle 1.0.328 → 1.0.329

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.
@@ -4733,7 +4733,7 @@ func.utils.job_worker = function (session_id) {
4733
4733
  // }
4734
4734
  unlock();
4735
4735
  if (_session.WORKER_OBJ.jobs.length) {
4736
- for await (const [key, val] of Object.entries(_session.WORKER_OBJ.jobs)) {
4736
+ for await (const [key, val] of Object.entries(_session.WORKER_OBJ.jobs.reverse())) {
4737
4737
  if (val.stat) {
4738
4738
  break;
4739
4739
  }
@@ -4733,7 +4733,7 @@ func.utils.job_worker = function (session_id) {
4733
4733
  // }
4734
4734
  unlock();
4735
4735
  if (_session.WORKER_OBJ.jobs.length) {
4736
- for await (const [key, val] of Object.entries(_session.WORKER_OBJ.jobs)) {
4736
+ for await (const [key, val] of Object.entries(_session.WORKER_OBJ.jobs.reverse())) {
4737
4737
  if (val.stat) {
4738
4738
  break;
4739
4739
  }