From e5caeff0b650d8d9639bffd98ef8a5acc4fb85ac Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sun, 18 Nov 2018 13:55:56 +0100
Subject: [PATCH] Suggest using Redis when failing to deliver messages

---
 sockets.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sockets.js b/sockets.js
index a1818e09..62d51b70 100644
--- a/sockets.js
+++ b/sockets.js
@@ -20,7 +20,7 @@ module.exports = function(wss) {
 
 	// TODO: when relaying to opponent, check readyState, potential setTimeout()? + send opponent (re)disconnect
 	// (resign, newgame, newmove). See https://github.com/websockets/ws/blob/master/lib/websocket.js around line 313
-	// TODO: awaiting newmove, resign, newgame :: in memory structure
+	// TODO: awaiting newmove, resign, newgame :: in memory structure (use Redis ?)
 
 	wss.on("connection", (socket, req) => {
 		//const params = new URL("http://localhost" + req.url).searchParams;
-- 
2.44.0