From 0173fb8710233585ed4cd30b81f225caf44ba2fb Mon Sep 17 00:00:00 2001 From: veyond Date: Wed, 21 Mar 2018 12:12:09 +0800 Subject: [PATCH] Update README.md Sentinel example pass wrong params --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a3477f9..18ba0e6 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ const options = { const pubClient = new Redis(options); const subClient = new Redis(options); -io.adapter(redisAdapter({ pubClient: options, subClient: options })); +io.adapter(redisAdapter({ pubClient: pubClient, subClient: subClient })); ``` ## Protocol