Update EpollHelloWorld.cpp
This commit is contained in:
@@ -26,8 +26,8 @@ void test() {
|
|||||||
/* Settings */
|
/* Settings */
|
||||||
.compression = uWS::SHARED_COMPRESSOR,
|
.compression = uWS::SHARED_COMPRESSOR,
|
||||||
.maxPayloadLength = 16 * 1024,
|
.maxPayloadLength = 16 * 1024,
|
||||||
.idleTimeout = 10,
|
.idleTimeout = 12,
|
||||||
.maxBackpressure = 1 * 1024 * 1024,
|
.maxBackpressure = 1024,
|
||||||
/* Handlers */
|
/* Handlers */
|
||||||
.open = [](auto *ws) {
|
.open = [](auto *ws) {
|
||||||
/* Open event here, you may access ws->getUserData() which points to a PerSocketData struct */
|
/* Open event here, you may access ws->getUserData() which points to a PerSocketData struct */
|
||||||
|
|||||||
Reference in New Issue
Block a user