@xuda.io/xuda-worker-bundle-min 1.3.564 → 1.3.566

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 +10 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1534,7 +1534,17 @@ func.datasource.create = async function (
1534
1534
  }
1535
1535
  }
1536
1536
 
1537
+ const set_stat_idle = async function () {
1538
+ var datasource_changes = {
1539
+ [dsSessionP]: {
1540
+ stat: "idle",
1541
+ },
1542
+ };
1543
+ await func.datasource.update(SESSION_ID, datasource_changes);
1544
+ };
1545
+
1537
1546
  _ds.stat = "idle";
1547
+ set_stat_idle();
1538
1548
  resolve({
1539
1549
  SESSION_ID,
1540
1550
  dsSessionP,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.564",
3
+ "version": "1.3.566",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {