@xuda.io/xuda-worker-bundle-min 1.3.519 → 1.3.520
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/index.js +12 -9
- 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
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
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 &&
|