From e71be72745f8ed3ea4f9b887039a6ed8695503fd Mon Sep 17 00:00:00 2001 From: Sher_Sun Date: Sun, 14 Apr 2024 14:40:01 -0400 Subject: [PATCH] Fix typo and rename Redis to Valkey in the utils/lru/README (#314) This utils/lru/README incorrectly refers to REDIS_LRU_CLOCK_RESOLUTION in server.h to modify the LRU clock resolution. However, the actual constant in server.h has been updated to LRU_CLOCK_RESOLUTION, but the README was not updated to reflect this change. 1. Replaced REDIS_LRU_CLOCK_RESOLUTION with LRU_CLOCK_RESOLUTION in the text of utils/lru/README. 2. Updated references from "Redis" to "Valkey" within the same README file as part of the ongoing rebranding efforts:) --------- Signed-off-by: Sher Sun Co-authored-by: Sher Sun --- utils/lru/README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/lru/README b/utils/lru/README index f043b29795..40d15e341d 100644 --- a/utils/lru/README +++ b/utils/lru/README @@ -1,9 +1,9 @@ The test-lru.rb program can be used in order to check the behavior of the -Redis approximated LRU algorithm against the theoretical output of true +Valkey approximated LRU algorithm against the theoretical output of true LRU algorithm. -In order to use the program you need to recompile Redis setting the define -REDIS_LRU_CLOCK_RESOLUTION to 1, by editing the file server.h. +In order to use the program you need to recompile Valkey setting the define +LRU_CLOCK_RESOLUTION to 1, by editing the file server.h. This allows to execute the program in a fast way since the 1 ms resolution is enough for all the objects to have a different enough time stamp during the test.