MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / moduleUnblockClient

Function moduleUnblockClient

src/module.cpp:5595–5598  ·  view source on GitHub ↗

This API is used by the Redis core to unblock a client that was blocked * by a module. */

Source from the content-addressed store, hash-verified

5593/* This API is used by the Redis core to unblock a client that was blocked
5594 * by a module. */
5595void moduleUnblockClient(client *c) {
5596 RedisModuleBlockedClient *bc = (RedisModuleBlockedClient*)c->bpop.module_blocked_handle;
5597 moduleUnblockClientByHandle(bc,NULL);
5598}
5599
5600/* Return true if the client 'c' was blocked by a module using
5601 * RM_BlockClientOnKeys(). */

Callers 2

unblockClientFromModuleFunction · 0.85

Calls 1

Tested by

no test coverage detected