entexto-cli 1.4.7 → 1.4.8
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/lib/commands/tunnel.js +6 -6
- package/package.json +1 -1
package/lib/commands/tunnel.js
CHANGED
|
@@ -46,13 +46,13 @@ module.exports = async function tunnel(opts) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
const socket = ioClient(wsUrl, {
|
|
49
|
-
//
|
|
50
|
-
//
|
|
51
|
-
transports: ['
|
|
52
|
-
upgrade:
|
|
49
|
+
// WebSocket puro: manejo concurrente de assets (CSS/JS/imágenes en paralelo).
|
|
50
|
+
// Polling serializa los acks y causa 504 cuando hay muchos requests simultáneos.
|
|
51
|
+
transports: ['websocket'],
|
|
52
|
+
upgrade: false,
|
|
53
53
|
reconnection: true,
|
|
54
|
-
reconnectionDelay:
|
|
55
|
-
reconnectionDelayMax:
|
|
54
|
+
reconnectionDelay: 1000,
|
|
55
|
+
reconnectionDelayMax: 3000,
|
|
56
56
|
reconnectionAttempts: Infinity,
|
|
57
57
|
timeout: 20000,
|
|
58
58
|
});
|