@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
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -3271,6 +3271,16 @@ func.datasource.create = async function (
|
|
|
3271
3271
|
old_dataSource_vars.SYS_STR_WIN_NAME = _ds.data_system.SYS_STR_WIN_NAME;
|
|
3272
3272
|
}
|
|
3273
3273
|
if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
|
|
3274
|
+
|
|
3275
|
+
await func.datasource.update(SESSION_ID, {
|
|
3276
|
+
[dsSessionP]: {
|
|
3277
|
+
['datasource_main']: {
|
|
3278
|
+
stat: 'busy',
|
|
3279
|
+
stat_ts: Date.now(),
|
|
3280
|
+
is_worker: glb.IS_WORKER,
|
|
3281
|
+
},
|
|
3282
|
+
},
|
|
3283
|
+
});
|
|
3274
3284
|
}
|
|
3275
3285
|
const restore_old_dataSource_vars = function (dsSessionP) {
|
|
3276
3286
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsSessionP];
|
|
@@ -3339,7 +3349,8 @@ func.datasource.create = async function (
|
|
|
3339
3349
|
|
|
3340
3350
|
let interval = setInterval(() => {
|
|
3341
3351
|
let idle_count = 0;
|
|
3342
|
-
for (const
|
|
3352
|
+
for (const dsSession of ds_connected) {
|
|
3353
|
+
const _ds = _session.DS_GLB[dsSession];
|
|
3343
3354
|
if (_ds.stat == 'idle') {
|
|
3344
3355
|
idle_count++;
|
|
3345
3356
|
}
|
|
@@ -3272,6 +3272,16 @@ func.datasource.create = async function (
|
|
|
3272
3272
|
old_dataSource_vars.SYS_STR_WIN_NAME = _ds.data_system.SYS_STR_WIN_NAME;
|
|
3273
3273
|
}
|
|
3274
3274
|
if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
|
|
3275
|
+
|
|
3276
|
+
await func.datasource.update(SESSION_ID, {
|
|
3277
|
+
[dsSessionP]: {
|
|
3278
|
+
['datasource_main']: {
|
|
3279
|
+
stat: 'busy',
|
|
3280
|
+
stat_ts: Date.now(),
|
|
3281
|
+
is_worker: glb.IS_WORKER,
|
|
3282
|
+
},
|
|
3283
|
+
},
|
|
3284
|
+
});
|
|
3275
3285
|
}
|
|
3276
3286
|
const restore_old_dataSource_vars = function (dsSessionP) {
|
|
3277
3287
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsSessionP];
|
|
@@ -3340,7 +3350,8 @@ func.datasource.create = async function (
|
|
|
3340
3350
|
|
|
3341
3351
|
let interval = setInterval(() => {
|
|
3342
3352
|
let idle_count = 0;
|
|
3343
|
-
for (const
|
|
3353
|
+
for (const dsSession of ds_connected) {
|
|
3354
|
+
const _ds = _session.DS_GLB[dsSession];
|
|
3344
3355
|
if (_ds.stat == 'idle') {
|
|
3345
3356
|
idle_count++;
|
|
3346
3357
|
}
|