@xuda.io/runtime-bundle 1.0.510 → 1.0.512

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.
@@ -1647,6 +1647,16 @@ func.datasource.create = async function (
1647
1647
  old_dataSource_vars.SYS_STR_WIN_NAME = _ds.data_system.SYS_STR_WIN_NAME;
1648
1648
  }
1649
1649
  if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
1650
+
1651
+ await func.datasource.update(SESSION_ID, {
1652
+ [dataSourceNoP]: {
1653
+ ['datasource_main']: {
1654
+ stat: 'busy',
1655
+ stat_ts: Date.now(),
1656
+ is_worker: glb.IS_WORKER,
1657
+ },
1658
+ },
1659
+ });
1650
1660
  }
1651
1661
  const restore_old_dataSource_vars = function (dsSessionP) {
1652
1662
  var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsSessionP];
@@ -1647,6 +1647,16 @@ func.datasource.create = async function (
1647
1647
  old_dataSource_vars.SYS_STR_WIN_NAME = _ds.data_system.SYS_STR_WIN_NAME;
1648
1648
  }
1649
1649
  if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
1650
+
1651
+ await func.datasource.update(SESSION_ID, {
1652
+ [dataSourceNoP]: {
1653
+ ['datasource_main']: {
1654
+ stat: 'busy',
1655
+ stat_ts: Date.now(),
1656
+ is_worker: glb.IS_WORKER,
1657
+ },
1658
+ },
1659
+ });
1650
1660
  }
1651
1661
  const restore_old_dataSource_vars = function (dsSessionP) {
1652
1662
  var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsSessionP];