-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Not sure if it suitable to raise a question here.
I am using API createClient to connect redis server and use blpop API to watch an list message. It seems everything goes fine. However, after the server restart, the client can't be notified when the block list change while the client can get the reconnecting message.
Any ideas please.
Code:
rclient = redis.createClient(port, host);
rclient.on('reconnecting', onReconnecthandle);
rclient.on('error', onErrorhandle);
rclient.on('end', onEndhandle);
rclient.blpop('my_list', 0, function(err, data) {
});
Metadata
Metadata
Assignees
Labels
No labels