Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
12fd92bf
Commit
12fd92bf
authored
Sep 17, 2018
by
antirez
Browse files
Merge branch 'unstable' of github.com:/antirez/redis into unstable
parents
9f43264f
54871412
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/modules/helloblock.c
View file @
12fd92bf
...
@@ -77,7 +77,7 @@ void *HelloBlock_ThreadMain(void *arg) {
...
@@ -77,7 +77,7 @@ void *HelloBlock_ThreadMain(void *arg) {
/* An example blocked client disconnection callback.
/* An example blocked client disconnection callback.
*
*
* Note that in the case of the HELLO.BLOCK command, the blocked client is now
* Note that in the case of the HELLO.BLOCK command, the blocked client is now
* owned by the thread calling sleep(). In this speci
i
fc case, there is not
* owned by the thread calling sleep(). In this specif
i
c case, there is not
* much we can do, however normally we could instead implement a way to
* much we can do, however normally we could instead implement a way to
* signal the thread that the client disconnected, and sleep the specified
* signal the thread that the client disconnected, and sleep the specified
* amount of seconds with a while loop calling sleep(1), so that once we
* amount of seconds with a while loop calling sleep(1), so that once we
...
...
src/modules/hellocluster.c
View file @
12fd92bf
...
@@ -69,7 +69,7 @@ int ListCommand_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int
...
@@ -69,7 +69,7 @@ int ListCommand_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int
RedisModule_ReplyWithLongLong
(
ctx
,
port
);
RedisModule_ReplyWithLongLong
(
ctx
,
port
);
}
}
RedisModule_FreeClusterNodesList
(
ids
);
RedisModule_FreeClusterNodesList
(
ids
);
return
R
edisModule_ReplyWithSimpleString
(
ctx
,
"OK"
)
;
return
R
EDISMODULE_OK
;
}
}
/* Callback for message MSGTYPE_PING */
/* Callback for message MSGTYPE_PING */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment