summaryrefslogtreecommitdiffstats
path: root/modules/websocket/websocket_macros.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-02-25 19:26:04 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-05-12 12:24:26 +0200
commitbeb87504e076afeb37e5f2765c8417f92a044e13 (patch)
treed0503d3b01b17f4907bdab1e325e416505a66543 /modules/websocket/websocket_macros.h
parent092b2bd36f9907c3d3d7687a66e5624f669c661a (diff)
downloadredot-engine-beb87504e076afeb37e5f2765c8417f92a044e13.tar.gz
Remove WebSocket defaults from project settings.
Can be manually set, let's not pollute them further. Should also be done for WebRTC.
Diffstat (limited to 'modules/websocket/websocket_macros.h')
-rw-r--r--modules/websocket/websocket_macros.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/modules/websocket/websocket_macros.h b/modules/websocket/websocket_macros.h
index f7eafcff1f..cf4545b435 100644
--- a/modules/websocket/websocket_macros.h
+++ b/modules/websocket/websocket_macros.h
@@ -31,15 +31,9 @@
#ifndef WEBSOCKETMACTOS_H
#define WEBSOCKETMACTOS_H
-#define WSC_IN_BUF "network/limits/websocket_client/max_in_buffer_kb"
-#define WSC_IN_PKT "network/limits/websocket_client/max_in_packets"
-#define WSC_OUT_BUF "network/limits/websocket_client/max_out_buffer_kb"
-#define WSC_OUT_PKT "network/limits/websocket_client/max_out_packets"
-
-#define WSS_IN_BUF "network/limits/websocket_server/max_in_buffer_kb"
-#define WSS_IN_PKT "network/limits/websocket_server/max_in_packets"
-#define WSS_OUT_BUF "network/limits/websocket_server/max_out_buffer_kb"
-#define WSS_OUT_PKT "network/limits/websocket_server/max_out_packets"
+// Defaults per peer buffers, 1024 packets with a shared 65536 bytes payload.
+#define DEF_PKT_SHIFT 10
+#define DEF_BUF_SHIFT 16
/* clang-format off */
#define GDCICLASS(CNAME) \