@xuda.io/runtime-bundle 1.0.510 → 1.0.511

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.
@@ -3271,6 +3271,16 @@ func.datasource.create = async function (
3271
3271
  old_dataSource_vars.SYS_STR_WIN_NAME = _ds.data_system.SYS_STR_WIN_NAME;
3272
3272
  }
3273
3273
  if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
3274
+
3275
+ await func.datasource.update(SESSION_ID, {
3276
+ [dsSessionP]: {
3277
+ ['datasource_main']: {
3278
+ stat: 'busy',
3279
+ stat_ts: Date.now(),
3280
+ is_worker: glb.IS_WORKER,
3281
+ },
3282
+ },
3283
+ });
3274
3284
  }
3275
3285
  const restore_old_dataSource_vars = function (dsSessionP) {
3276
3286
  var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsSessionP];
@@ -3272,6 +3272,16 @@ func.datasource.create = async function (
3272
3272
  old_dataSource_vars.SYS_STR_WIN_NAME = _ds.data_system.SYS_STR_WIN_NAME;
3273
3273
  }
3274
3274
  if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
3275
+
3276
+ await func.datasource.update(SESSION_ID, {
3277
+ [dsSessionP]: {
3278
+ ['datasource_main']: {
3279
+ stat: 'busy',
3280
+ stat_ts: Date.now(),
3281
+ is_worker: glb.IS_WORKER,
3282
+ },
3283
+ },
3284
+ });
3275
3285
  }
3276
3286
  const restore_old_dataSource_vars = function (dsSessionP) {
3277
3287
  var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsSessionP];