From 4edebe90fd0b43579263dcc952b5f4b8c6aaac55 Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 25 Nov 2020 01:28:44 +0200 Subject: [PATCH] redis --- swarmlab-app/src/run/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 590f50f..64ef898 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -11,7 +11,7 @@ const createAdapter = require('socket.io-redis'); //import { RedisClient } from 'redis'; const RedisClient = require("redis"); //const pubClient = redis.createClient({ host: 'localhost', port: 6379 } ); -const pubClient = redis.createClient(); +const pubClient = RedisClient.createClient(); //const pubClient = new RedisClient({ host: 'localhost', port: 6379 }); const subClient = pubClient.duplicate();