summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author丽媛自己动 <60819151+ohye3166@users.noreply.github.com>2021-11-30 20:10:49 +0800
committerGitHub <noreply@github.com>2021-11-30 14:10:49 +0200
commitaf072c26bcf62dc4be1cfee7c2ca7242ac2d16aa (patch)
tree34645686eb9c0be4f2909d0efd5533cd1dbb397c
parentbdf531e38da06e87d6b2aa0f65da1b5b87b0f776 (diff)
downloadredis-af072c26bcf62dc4be1cfee7c2ca7242ac2d16aa.tar.gz
modify misleading note in comment (#9865)
now rdbSaveInfo used in both way, so i think we should update previous notes, in case of misleading
-rw-r--r--src/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h
index 4e300aa9e..ad458652e 100644
--- a/src/server.h
+++ b/src/server.h
@@ -1229,7 +1229,7 @@ struct redisMemOverhead {
* order to implement additional functionalities, by storing and loading
* metadata to the RDB file.
*
- * Currently the only use is to select a DB at load time, useful in
+ * For example, to use select a DB at load time, useful in
* replication in order to make sure that chained slaves (slaves of slaves)
* select the correct DB and are able to accept the stream coming from the
* top-level master. */