@xuda.io/runtime-bundle 1.0.504 → 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.
@@ -1978,6 +1978,19 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
1978
1978
 
1979
1979
  _ds.stat = 'busy';
1980
1980
  _ds._run_at = run_atP;
1981
+
1982
+ if (_ds.refreshed) {
1983
+ await func.datasource.update(SESSION_ID, {
1984
+ [_ds.dsSession]: {
1985
+ ['datasource_main']: {
1986
+ stat: 'busy',
1987
+ stat_ts: Date.now(),
1988
+ is_worker: glb.IS_WORKER,
1989
+ },
1990
+ },
1991
+ });
1992
+ }
1993
+
1981
1994
  // init_v();
1982
1995
 
1983
1996
  if (IS_DATASOURCE_REFRESH) {
@@ -1978,6 +1978,19 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
1978
1978
 
1979
1979
  _ds.stat = 'busy';
1980
1980
  _ds._run_at = run_atP;
1981
+
1982
+ if (_ds.refreshed) {
1983
+ await func.datasource.update(SESSION_ID, {
1984
+ [_ds.dsSession]: {
1985
+ ['datasource_main']: {
1986
+ stat: 'busy',
1987
+ stat_ts: Date.now(),
1988
+ is_worker: glb.IS_WORKER,
1989
+ },
1990
+ },
1991
+ });
1992
+ }
1993
+
1981
1994
  // init_v();
1982
1995
 
1983
1996
  if (IS_DATASOURCE_REFRESH) {