@xuda.io/xuda-worker-bundle-min 1.3.519 → 1.3.521

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.
Files changed (2) hide show
  1. package/index.js +13 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1120,17 +1120,20 @@ func.common.perform_rpi_request = async function (
1120
1120
  return {};
1121
1121
  }
1122
1122
  };
1123
- const ws = async function () {
1124
- glb.websocket_queue_num++;
1125
- RUNTIME_SERVER_WEBSOCKET.emit("message", {
1126
- service: serviceP,
1127
- data,
1128
- websocket_queue_num: glb.websocket_queue_num,
1129
- });
1130
- throw new Error("fail to fetch from ws");
1131
- };
1123
+ // const ws = async function () {
1124
+ // glb.websocket_queue_num++;
1125
+ // RUNTIME_SERVER_WEBSOCKET.emit("message", {
1126
+ // service: serviceP,
1127
+ // data,
1128
+ // websocket_queue_num: glb.websocket_queue_num,
1129
+ // });
1130
+ // throw new Error("fail to fetch from ws");
1131
+ // };
1132
1132
 
1133
1133
  try {
1134
+ if (_session.engine_mode === "live_preview") {
1135
+ throw new Error("live_preview");
1136
+ }
1134
1137
  if (
1135
1138
  // RUNTIME_SERVER_WEBSOCKET &&
1136
1139
  // RUNTIME_SERVER_WEBSOCKET_CONNECTED &&
@@ -1230,7 +1233,7 @@ var CACHE_PROG_UI = {};
1230
1233
  var ALERT_IS_ACTIVE = false;
1231
1234
  glb.WORKER_ATTEMPTS_NOT_RESPONDING = 200000;
1232
1235
 
1233
- glb.WORKER_TIMEOUT = 100000;
1236
+ glb.WORKER_TIMEOUT = 600000;
1234
1237
  glb.WORKER_PAUSE = false;
1235
1238
  // glb.EMAIL_SEND_RECEIVE_STATUS = {};
1236
1239
  var DATASOURCE_INTERVALS = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.519",
3
+ "version": "1.3.521",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {