summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-03-21 09:19:02 +0100
committerantirez <antirez@gmail.com>2015-03-21 09:19:08 +0100
commitd544600aa524e008338bf690ced7377876d5a657 (patch)
tree0d27e4c2c4fe9ce64e14a9cc9815acc5c38746ed
parent2b278a3394ab6b32b4bdcb7db56323649622f784 (diff)
downloadredis-d544600aa524e008338bf690ced7377876d5a657.tar.gz
Fix typo in beforeSleep() comment.
-rw-r--r--src/redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.c b/src/redis.c
index e216109c1..3f887f3e7 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -1261,7 +1261,7 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
REDIS_NOTUSED(eventLoop);
/* 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
* later in this function. */
if (server.cluster_enabled) clusterBeforeSleep();