mirror of https://github.com/redis/redis.git
modify error word keyevente
Signed-off-by: binyan <binbin.yan@nokia.com>
This commit is contained in:
parent
fceaa46dda
commit
2763470dee
|
@ -115,7 +115,7 @@ void notifyKeyspaceEvent(int type, char *event, robj *key, int dbid) {
|
||||||
decrRefCount(chanobj);
|
decrRefCount(chanobj);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* __keyevente@<db>__:<event> <key> notifications. */
|
/* __keyevent@<db>__:<event> <key> notifications. */
|
||||||
if (server.notify_keyspace_events & NOTIFY_KEYEVENT) {
|
if (server.notify_keyspace_events & NOTIFY_KEYEVENT) {
|
||||||
chan = sdsnewlen("__keyevent@",11);
|
chan = sdsnewlen("__keyevent@",11);
|
||||||
if (len == -1) len = ll2string(buf,sizeof(buf),dbid);
|
if (len == -1) len = ll2string(buf,sizeof(buf),dbid);
|
||||||
|
|
Loading…
Reference in New Issue