From abee36fbc7ca299c06d813672e8782516e53dd8e Mon Sep 17 00:00:00 2001 From: Alan Friedman Date: Sun, 2 Jun 2019 12:21:22 -0400 Subject: [PATCH] Increase ping interval (#80) --- server/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/index.js b/server/src/index.js index e2be6d9..c76b3de 100644 --- a/server/src/index.js +++ b/server/src/index.js @@ -103,7 +103,7 @@ const protocol = (process.env.PROTOCOL || 'http') === 'http' ? http : https; const server = protocol.createServer(app.callback()); const io = Io(server, { - pingInterval: 5000, + pingInterval: 20000, pingTimeout: 5000 }); io.adapter(socketRedis(process.env.REDIS_URL));