@xuda.io/runtime-bundle 1.0.819 → 1.0.821
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
|
@@ -8471,12 +8471,12 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
8471
8471
|
}
|
|
8472
8472
|
// this._interval = setInterval(job_iterator, 1);
|
|
8473
8473
|
}
|
|
8474
|
-
await job_iterator();
|
|
8475
8474
|
} else {
|
|
8476
8475
|
//busy
|
|
8477
8476
|
|
|
8478
8477
|
this.attempt++;
|
|
8479
8478
|
}
|
|
8479
|
+
return await job_iterator();
|
|
8480
8480
|
};
|
|
8481
8481
|
job_iterator();
|
|
8482
8482
|
// this._interval = setInterval(job_iterator, 1);
|
|
@@ -8755,7 +8755,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8755
8755
|
// }, 1000);
|
|
8756
8756
|
}
|
|
8757
8757
|
setTimeout(async () => {
|
|
8758
|
-
|
|
8758
|
+
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8759
8759
|
}, 10000);
|
|
8760
8760
|
},
|
|
8761
8761
|
};
|
|
@@ -8472,12 +8472,12 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
8472
8472
|
}
|
|
8473
8473
|
// this._interval = setInterval(job_iterator, 1);
|
|
8474
8474
|
}
|
|
8475
|
-
await job_iterator();
|
|
8476
8475
|
} else {
|
|
8477
8476
|
//busy
|
|
8478
8477
|
|
|
8479
8478
|
this.attempt++;
|
|
8480
8479
|
}
|
|
8480
|
+
return await job_iterator();
|
|
8481
8481
|
};
|
|
8482
8482
|
job_iterator();
|
|
8483
8483
|
// this._interval = setInterval(job_iterator, 1);
|
|
@@ -8756,7 +8756,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8756
8756
|
// }, 1000);
|
|
8757
8757
|
}
|
|
8758
8758
|
setTimeout(async () => {
|
|
8759
|
-
|
|
8759
|
+
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8760
8760
|
}, 10000);
|
|
8761
8761
|
},
|
|
8762
8762
|
};
|