summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-10-31 17:45:07 +0100
committerantirez <antirez@gmail.com>2019-10-31 17:45:07 +0100
commitdd5feec5e81288950784740ad23d9dc13b7df9a2 (patch)
tree35b918c6df19e9606eb0e35e238d2ace88f558f0
parent825adcf3f5775271583ebe4df0ba92fd8f9c821b (diff)
downloadredis-module-block-on-keys.tar.gz
Modules: block on keys: fix stale comment.module-block-on-keys
-rw-r--r--src/blocked.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/blocked.c b/src/blocked.c
index 3110c00fc..14c2ff830 100644
--- a/src/blocked.c
+++ b/src/blocked.c
@@ -434,8 +434,9 @@ void serveClientsBlockedOnStreamKey(robj *o, readyList *rl) {
/* Helper function for handleClientsBlockedOnKeys(). This function is called
* in order to check if we can serve clients blocked by modules using
* RM_BlockClientOnKeys(), when the corresponding key was signaled as ready:
- * our goal here is to call the is_key_ready() callback to see if the key
- * is really able to serve the client, and in that case, unblock it. */
+ * our goal here is to call the RedisModuleBlockedClient reply() callback to
+ * see if the key is really able to serve the client, and in that case,
+ * unblock it. */
void serveClientsBlockedOnKeyByModule(readyList *rl) {
dictEntry *de;