@xuda.io/runtime-bundle 1.0.511 → 1.0.513
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 +18 -14
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-mini-bundle.js +17 -13
- package/js/xuda-runtime-mini-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +18 -14
- package/js/xuda-runtime-slim.min.es.js +18 -14
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +18 -14
- package/js/xuda-worker-bundle.js +18 -14
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -1649,7 +1649,7 @@ func.datasource.create = async function (
|
|
|
1649
1649
|
if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
|
|
1650
1650
|
|
|
1651
1651
|
await func.datasource.update(SESSION_ID, {
|
|
1652
|
-
[
|
|
1652
|
+
[dataSourceNoP]: {
|
|
1653
1653
|
['datasource_main']: {
|
|
1654
1654
|
stat: 'busy',
|
|
1655
1655
|
stat_ts: Date.now(),
|
|
@@ -5183,20 +5183,24 @@ func.utils.ws_worker.functions = {
|
|
|
5183
5183
|
args.run_atP,
|
|
5184
5184
|
args.worker_id,
|
|
5185
5185
|
);
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5186
|
+
try {
|
|
5187
|
+
let _ds = _session.DS_GLB[ret.dsSessionP];
|
|
5188
|
+
if (show_log) console.log('DATASOURCE EXECUTION DONE ' + ret.dsSessionP + ' ' + _ds?.tree_obj?.menuName || '' + ' SESSION_ID: ' + SESSION_ID, APP_OBJ[_session.app_id].app_name);
|
|
5189
|
+
var obj = func.utils.clean_returned_datasource(SESSION_ID, ret?.dsSessionP);
|
|
5190
|
+
obj.dataSourceSessionGlobal = _session.dataSourceSessionGlobal;
|
|
5190
5191
|
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5192
|
+
worker_post_message({
|
|
5193
|
+
promise_queue_id,
|
|
5194
|
+
params: obj,
|
|
5195
|
+
worker_id: ws_worker_id,
|
|
5196
|
+
session_id: SESSION_ID,
|
|
5197
|
+
process_pid: params.process_pid,
|
|
5198
|
+
service: params.service,
|
|
5199
|
+
});
|
|
5200
|
+
_ds.stat = 'idle';
|
|
5201
|
+
} catch (error) {
|
|
5202
|
+
debugger;
|
|
5203
|
+
}
|
|
5200
5204
|
},
|
|
5201
5205
|
datasource_delete: function (params, promise_queue_id) {
|
|
5202
5206
|
var SESSION_ID = params.session_id;
|
package/js/xuda-worker-bundle.js
CHANGED
|
@@ -1649,7 +1649,7 @@ func.datasource.create = async function (
|
|
|
1649
1649
|
if (static_refreshP) old_dataSource_vars.in_parameters = _ds.in_parameters;
|
|
1650
1650
|
|
|
1651
1651
|
await func.datasource.update(SESSION_ID, {
|
|
1652
|
-
[
|
|
1652
|
+
[dataSourceNoP]: {
|
|
1653
1653
|
['datasource_main']: {
|
|
1654
1654
|
stat: 'busy',
|
|
1655
1655
|
stat_ts: Date.now(),
|
|
@@ -5183,20 +5183,24 @@ func.utils.ws_worker.functions = {
|
|
|
5183
5183
|
args.run_atP,
|
|
5184
5184
|
args.worker_id,
|
|
5185
5185
|
);
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5186
|
+
try {
|
|
5187
|
+
let _ds = _session.DS_GLB[ret.dsSessionP];
|
|
5188
|
+
if (show_log) console.log('DATASOURCE EXECUTION DONE ' + ret.dsSessionP + ' ' + _ds?.tree_obj?.menuName || '' + ' SESSION_ID: ' + SESSION_ID, APP_OBJ[_session.app_id].app_name);
|
|
5189
|
+
var obj = func.utils.clean_returned_datasource(SESSION_ID, ret?.dsSessionP);
|
|
5190
|
+
obj.dataSourceSessionGlobal = _session.dataSourceSessionGlobal;
|
|
5190
5191
|
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5192
|
+
worker_post_message({
|
|
5193
|
+
promise_queue_id,
|
|
5194
|
+
params: obj,
|
|
5195
|
+
worker_id: ws_worker_id,
|
|
5196
|
+
session_id: SESSION_ID,
|
|
5197
|
+
process_pid: params.process_pid,
|
|
5198
|
+
service: params.service,
|
|
5199
|
+
});
|
|
5200
|
+
_ds.stat = 'idle';
|
|
5201
|
+
} catch (error) {
|
|
5202
|
+
debugger;
|
|
5203
|
+
}
|
|
5200
5204
|
},
|
|
5201
5205
|
datasource_delete: function (params, promise_queue_id) {
|
|
5202
5206
|
var SESSION_ID = params.session_id;
|