@xuda.io/runtime-bundle 1.0.509 → 1.0.510

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.
@@ -3339,7 +3339,8 @@ func.datasource.create = async function (
3339
3339
 
3340
3340
  let interval = setInterval(() => {
3341
3341
  let idle_count = 0;
3342
- for (const _ds of ds_connected) {
3342
+ for (const dsSession of ds_connected) {
3343
+ const _ds = _session.DS_GLB[dsSession];
3343
3344
  if (_ds.stat == 'idle') {
3344
3345
  idle_count++;
3345
3346
  }
@@ -3340,7 +3340,8 @@ func.datasource.create = async function (
3340
3340
 
3341
3341
  let interval = setInterval(() => {
3342
3342
  let idle_count = 0;
3343
- for (const _ds of ds_connected) {
3343
+ for (const dsSession of ds_connected) {
3344
+ const _ds = _session.DS_GLB[dsSession];
3344
3345
  if (_ds.stat == 'idle') {
3345
3346
  idle_count++;
3346
3347
  }