Commit d544600a authored by antirez's avatar antirez
Browse files

Fix typo in beforeSleep() comment.

parent 2b278a33
...@@ -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 (frok ok to fail or vice versa), * may change the state of Redis Cluster (from 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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment