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
d544600a
Commit
d544600a
authored
Mar 21, 2015
by
antirez
Browse files
Fix typo in beforeSleep() comment.
parent
2b278a33
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
d544600a
...
@@ -1261,7 +1261,7 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
...
@@ -1261,7 +1261,7 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
REDIS_NOTUSED
(
eventLoop
);
REDIS_NOTUSED
(
eventLoop
);
/* Call the Redis Cluster before sleep function. Note that this function
/* Call the Redis Cluster before sleep function. Note that this function
* may change the state of Redis Cluster (fro
k
ok to fail or vice versa),
* may change the state of Redis Cluster (fro
m
ok to fail or vice versa),
* so it's a good idea to call it before serving the unblocked clients
* so it's a good idea to call it before serving the unblocked clients
* later in this function. */
* later in this function. */
if
(
server
.
cluster_enabled
)
clusterBeforeSleep
();
if
(
server
.
cluster_enabled
)
clusterBeforeSleep
();
...
...
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