@xuda.io/runtime-bundle 1.0.505 → 1.0.506

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.
@@ -28686,6 +28686,19 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
28686
28686
 
28687
28687
  _ds.stat = 'busy';
28688
28688
  _ds._run_at = run_atP;
28689
+
28690
+ if (_ds.refreshed) {
28691
+ await func.datasource.update(SESSION_ID, {
28692
+ [_ds.dsSession]: {
28693
+ ['datasource_main']: {
28694
+ stat: 'busy',
28695
+ stat_ts: Date.now(),
28696
+ is_worker: glb.IS_WORKER,
28697
+ },
28698
+ },
28699
+ });
28700
+ }
28701
+
28689
28702
  // init_v();
28690
28703
 
28691
28704
  if (IS_DATASOURCE_REFRESH) {