summaryrefslogtreecommitdiff
path: root/src/evict.c
diff options
context:
space:
mode:
authorHuang Zw <huang_zhw@126.com>2021-02-09 01:29:32 +0800
committerGitHub <noreply@github.com>2021-02-08 09:29:32 -0800
commit8f9958dc24fa5992d3d10f6b9caf999e1beee4e5 (patch)
tree864db87d132a88429c5e6ed6b080581e67d255b1 /src/evict.c
parentdbcc0a85d070f94f5c524a4bbdd3e492c32e845b (diff)
downloadredis-8f9958dc24fa5992d3d10f6b9caf999e1beee4e5.tar.gz
Fix typo and some out of date comments (#8449)
Fix typo and some out of date comments
Diffstat (limited to 'src/evict.c')
-rw-r--r--src/evict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evict.c b/src/evict.c
index 04513cd1a..d3cdaaa80 100644
--- a/src/evict.c
+++ b/src/evict.c
@@ -135,7 +135,7 @@ void evictionPoolAlloc(void) {
/* This is an helper function for performEvictions(), it is used in order
* to populate the evictionPool with a few entries every time we want to
- * expire a key. Keys with idle time smaller than one of the current
+ * expire a key. Keys with idle time bigger than one of the current
* keys are added. Keys are always added if there are free entries.
*
* We insert keys on place in ascending order, so keys with the smaller