@xuda.io/runtime-bundle 1.0.509 → 1.0.511
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.
- package/js/xuda-runtime-bundle.js +12 -1
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +12 -1
- package/js/xuda-runtime-slim.min.es.js +12 -1
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +12 -1
- package/js/xuda-worker-bundle.js +12 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -1647,6 +1647,16 @@ func.datasource.create = async function (
|
|
|
1647
1647
|
old_dataSource_vars.SYS_STR_WIN_NAME = _ds.data_system.SYS_STR_WIN_NAME;
|
|
1648
1648
|
}
|
|
1649
1649
|
if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
|
|
1650
|
+
|
|
1651
|
+
await func.datasource.update(SESSION_ID, {
|
|
1652
|
+
[dsSessionP]: {
|
|
1653
|
+
['datasource_main']: {
|
|
1654
|
+
stat: 'busy',
|
|
1655
|
+
stat_ts: Date.now(),
|
|
1656
|
+
is_worker: glb.IS_WORKER,
|
|
1657
|
+
},
|
|
1658
|
+
},
|
|
1659
|
+
});
|
|
1650
1660
|
}
|
|
1651
1661
|
const restore_old_dataSource_vars = function (dsSessionP) {
|
|
1652
1662
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsSessionP];
|
|
@@ -1715,7 +1725,8 @@ func.datasource.create = async function (
|
|
|
1715
1725
|
|
|
1716
1726
|
let interval = setInterval(() => {
|
|
1717
1727
|
let idle_count = 0;
|
|
1718
|
-
for (const
|
|
1728
|
+
for (const dsSession of ds_connected) {
|
|
1729
|
+
const _ds = _session.DS_GLB[dsSession];
|
|
1719
1730
|
if (_ds.stat == 'idle') {
|
|
1720
1731
|
idle_count++;
|
|
1721
1732
|
}
|
package/js/xuda-worker-bundle.js
CHANGED
|
@@ -1647,6 +1647,16 @@ func.datasource.create = async function (
|
|
|
1647
1647
|
old_dataSource_vars.SYS_STR_WIN_NAME = _ds.data_system.SYS_STR_WIN_NAME;
|
|
1648
1648
|
}
|
|
1649
1649
|
if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
|
|
1650
|
+
|
|
1651
|
+
await func.datasource.update(SESSION_ID, {
|
|
1652
|
+
[dsSessionP]: {
|
|
1653
|
+
['datasource_main']: {
|
|
1654
|
+
stat: 'busy',
|
|
1655
|
+
stat_ts: Date.now(),
|
|
1656
|
+
is_worker: glb.IS_WORKER,
|
|
1657
|
+
},
|
|
1658
|
+
},
|
|
1659
|
+
});
|
|
1650
1660
|
}
|
|
1651
1661
|
const restore_old_dataSource_vars = function (dsSessionP) {
|
|
1652
1662
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsSessionP];
|
|
@@ -1715,7 +1725,8 @@ func.datasource.create = async function (
|
|
|
1715
1725
|
|
|
1716
1726
|
let interval = setInterval(() => {
|
|
1717
1727
|
let idle_count = 0;
|
|
1718
|
-
for (const
|
|
1728
|
+
for (const dsSession of ds_connected) {
|
|
1729
|
+
const _ds = _session.DS_GLB[dsSession];
|
|
1719
1730
|
if (_ds.stat == 'idle') {
|
|
1720
1731
|
idle_count++;
|
|
1721
1732
|
}
|