Add more detail to the panic messages in blocked.cpp
This commit is contained in:
parent
2ad14dec88
commit
d94fddae0a
@ -208,7 +208,8 @@ void unblockClient(client *c) {
|
|||||||
listDelNode(g_pserver->paused_clients,c->paused_list_node);
|
listDelNode(g_pserver->paused_clients,c->paused_list_node);
|
||||||
c->paused_list_node = NULL;
|
c->paused_list_node = NULL;
|
||||||
} else {
|
} else {
|
||||||
serverPanic("Unknown btype in unblockClient().");
|
serverPanic("Unknown btype %d in unblockClient() for client %llu.",
|
||||||
|
c->btype, (unsigned long long) c->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reset the client for a new query since, for blocking commands
|
/* Reset the client for a new query since, for blocking commands
|
||||||
@ -243,7 +244,8 @@ void replyToBlockedClientTimedOut(client *c) {
|
|||||||
} else if (c->btype == BLOCKED_MODULE) {
|
} else if (c->btype == BLOCKED_MODULE) {
|
||||||
moduleBlockedClientTimedOut(c);
|
moduleBlockedClientTimedOut(c);
|
||||||
} else {
|
} else {
|
||||||
serverPanic("Unknown btype in replyToBlockedClientTimedOut().");
|
serverPanic("Unknown btype %d in replyToBlockedClientTimedOut() for client %llu.",
|
||||||
|
c->btype, (unsigned long long) c->id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user