We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb1e692 commit ff8ab92Copy full SHA for ff8ab92
src/twobot.cc
@@ -106,7 +106,7 @@ namespace twobot {
106
.AddSocketProcess([](TcpSocket& socket) {
107
socket.setNodelay();
108
})
109
- .WithMaxRecvBufferSize(1024)
+ .WithMaxRecvBufferSize(10240)
110
.WithAddr(false, "0.0.0.0", websocket_port)
111
.WithEnterCallback([ws_enter_callback](const HttpSession::Ptr& httpSession, HttpSessionHandlers& handlers) {
112
handlers.setWSCallback(ws_enter_callback);
0 commit comments