@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.
@@ -3602,6 +3602,19 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
3602
3602
 
3603
3603
  _ds.stat = 'busy';
3604
3604
  _ds._run_at = run_atP;
3605
+
3606
+ if (_ds.refreshed) {
3607
+ await func.datasource.update(SESSION_ID, {
3608
+ [_ds.dsSession]: {
3609
+ ['datasource_main']: {
3610
+ stat: 'busy',
3611
+ stat_ts: Date.now(),
3612
+ is_worker: glb.IS_WORKER,
3613
+ },
3614
+ },
3615
+ });
3616
+ }
3617
+
3605
3618
  // init_v();
3606
3619
 
3607
3620
  if (IS_DATASOURCE_REFRESH) {
@@ -3603,6 +3603,19 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
3603
3603
 
3604
3604
  _ds.stat = 'busy';
3605
3605
  _ds._run_at = run_atP;
3606
+
3607
+ if (_ds.refreshed) {
3608
+ await func.datasource.update(SESSION_ID, {
3609
+ [_ds.dsSession]: {
3610
+ ['datasource_main']: {
3611
+ stat: 'busy',
3612
+ stat_ts: Date.now(),
3613
+ is_worker: glb.IS_WORKER,
3614
+ },
3615
+ },
3616
+ });
3617
+ }
3618
+
3606
3619
  // init_v();
3607
3620
 
3608
3621
  if (IS_DATASOURCE_REFRESH) {