Quantcast
Channel: Ping command in ioredis-Node JS - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Rabea for Ping command in ioredis-Node JS

var Redis = require('ioredis'); var redis = new Redis(); var test = redis.ping(function (err, result) { console.log(result); }); The result should be the word PONG if no paramters are passed and Redis...

View Article



Ping command in ioredis-Node JS

Is there any way to check weather redis is available or terminated due to some issues before I am setting or getting a key ? How can I achieve that? I am using ioredis module.

View Article
Browsing all 2 articles
Browse latest View live




Latest Images