diff options
author | Wang Yuan <wangyuan21@baidu.com> | 2021-03-25 21:09:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-25 15:09:12 +0200 |
commit | 1976acfe3e40ca2a1b42ffe7f94cfc7487aa2302 (patch) | |
tree | a4e4ed25fb8f585796bebdf0c0c3c1e1dfb06709 | |
parent | 497351ad07365109a57c831c5e99b15dfbefdeb3 (diff) | |
download | redis-1976acfe3e40ca2a1b42ffe7f94cfc7487aa2302.tar.gz |
Remove deprecated comments about saving expire time (#8692)
-rw-r--r-- | src/rdb.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1073,8 +1073,7 @@ size_t rdbSavedObjectLen(robj *o, robj *key) { /* Save a key-value pair, with expire time, type, key, value. * On error -1 is returned. - * On success if the key was actually saved 1 is returned, otherwise 0 - * is returned (the key was already expired). */ + * On success if the key was actually saved 1 is returned. */ int rdbSaveKeyValuePair(rio *rdb, robj *key, robj *val, long long expiretime) { int savelru = server.maxmemory_policy & MAXMEMORY_FLAG_LRU; int savelfu = server.maxmemory_policy & MAXMEMORY_FLAG_LFU; |