@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.
@@ -1715,7 +1715,8 @@ func.datasource.create = async function (
1715
1715
 
1716
1716
  let interval = setInterval(() => {
1717
1717
  let idle_count = 0;
1718
- for (const _ds of ds_connected) {
1718
+ for (const dsSession of ds_connected) {
1719
+ const _ds = _session.DS_GLB[dsSession];
1719
1720
  if (_ds.stat == 'idle') {
1720
1721
  idle_count++;
1721
1722
  }
@@ -1715,7 +1715,8 @@ func.datasource.create = async function (
1715
1715
 
1716
1716
  let interval = setInterval(() => {
1717
1717
  let idle_count = 0;
1718
- for (const _ds of ds_connected) {
1718
+ for (const dsSession of ds_connected) {
1719
+ const _ds = _session.DS_GLB[dsSession];
1719
1720
  if (_ds.stat == 'idle') {
1720
1721
  idle_count++;
1721
1722
  }