Answers for "ioredis cluster example"

0

ioredis cluster example

var Redis = require('ioredis');

var cluster = new Redis.Cluster([{
  host: '127.0.0.1',
  port: 7000
}, {
  host: '127.0.0.1',
  port: 7001
}, {
  host: '127.0.0.1',
  port: 7002
}]);

console.log(cluster.nodes());
Posted by: Guest on February-23-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language