@xuda.io/xuda-worker-bundle-min 1.3.1178 → 1.3.1179

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3241,7 +3241,7 @@ func.datasource.run_events_functions = async function (
3241
3241
 
3242
3242
  if (calling_job) continue
3243
3243
 
3244
- for (job_num of jobs) {
3244
+ for (let job_num of jobs) {
3245
3245
  job_promises.push(new Promise((resolve, reject) => {
3246
3246
  setTimeout(() => {
3247
3247
  resolve(job_num);
@@ -3265,6 +3265,7 @@ func.datasource.run_events_functions = async function (
3265
3265
  if (job_promises.length) {
3266
3266
  await Promise.all(job_promises)
3267
3267
  }
3268
+ console.log(job_promises)
3268
3269
  // resolve()
3269
3270
 
3270
3271
  // if (job_promises.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.1178",
3
+ "version": "1.3.1179",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {