diff options
author | antirez <antirez@gmail.com> | 2019-12-09 12:15:38 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2019-12-09 12:15:38 +0100 |
commit | e4b6070c0f86ae2cd92c53301253cbabf565dd68 (patch) | |
tree | 41dc36322868923dbfae0dafc101340aac50b6ce | |
parent | 2271cf03f56525f153227c95b9521a5377321776 (diff) | |
download | redis-e4b6070c0f86ae2cd92c53301253cbabf565dd68.tar.gz |
Modules: more clarification about disconnection callback.
-rw-r--r-- | src/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module.c b/src/module.c index 111e1c202..f9e0d8036 100644 --- a/src/module.c +++ b/src/module.c @@ -4194,8 +4194,8 @@ void unblockClientFromModule(client *c) { /* Call the disconnection callback if any. Note that * bc->disconnect_callback is set to NULL if the client gets disconnected - * by the module itself, so the callback will NOT get called if this is - * not an actual disconnection event. */ + * by the module itself or because of a timeout, so the callback will NOT + * get called if this is not an actual disconnection event. */ if (bc->disconnect_callback) { RedisModuleCtx ctx = REDISMODULE_CTX_INIT; ctx.blocked_privdata = bc->privdata; |