From 3b1bba8af8a3652dde15c82c31a14e28cd3500a7 Mon Sep 17 00:00:00 2001 From: Alan Smithee Date: Wed, 4 May 2022 19:57:42 +0200 Subject: [PATCH] Make idleTimeout a multiple of 4 in README example (#666) Using the example provided in the README outputs the following warning; > Warning: idleTimeout should be a multiple of 4! This PR updates the example according to the warning. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1aef75c1..18feb4ed 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ require('uWebSockets.js').SSLApp({ }).ws('/*', { /* There are many common helper features */ - idleTimeout: 30, + idleTimeout: 32, maxBackpressure: 1024, maxPayloadLength: 512, compression: DEDICATED_COMPRESSOR_3KB,