@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
|
@@ -28372,6 +28372,16 @@ func.datasource.create = async function (
|
|
|
28372
28372
|
old_dataSource_vars.SYS_STR_WIN_NAME = _ds.data_system.SYS_STR_WIN_NAME;
|
|
28373
28373
|
}
|
|
28374
28374
|
if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
|
|
28375
|
+
|
|
28376
|
+
await func.datasource.update(SESSION_ID, {
|
|
28377
|
+
[dsSessionP]: {
|
|
28378
|
+
['datasource_main']: {
|
|
28379
|
+
stat: 'busy',
|
|
28380
|
+
stat_ts: Date.now(),
|
|
28381
|
+
is_worker: glb.IS_WORKER,
|
|
28382
|
+
},
|
|
28383
|
+
},
|
|
28384
|
+
});
|
|
28375
28385
|
}
|
|
28376
28386
|
const restore_old_dataSource_vars = function (dsSessionP) {
|
|
28377
28387
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsSessionP];
|
|
@@ -28440,7 +28450,8 @@ func.datasource.create = async function (
|
|
|
28440
28450
|
|
|
28441
28451
|
let interval = setInterval(() => {
|
|
28442
28452
|
let idle_count = 0;
|
|
28443
|
-
for (const
|
|
28453
|
+
for (const dsSession of ds_connected) {
|
|
28454
|
+
const _ds = _session.DS_GLB[dsSession];
|
|
28444
28455
|
if (_ds.stat == 'idle') {
|
|
28445
28456
|
idle_count++;
|
|
28446
28457
|
}
|