From 624a5893a5874bfad90e5c91b61352354a609e8c Mon Sep 17 00:00:00 2001 From: Chashika Weerathunga Date: Sun, 17 Sep 2023 01:52:52 +0530 Subject: [PATCH] Modify the comment (#447) Signed-off-by: chashikajw --- src/redis/fixed_cache_impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis/fixed_cache_impl.go b/src/redis/fixed_cache_impl.go index 58e40331..4ec34b3d 100644 --- a/src/redis/fixed_cache_impl.go +++ b/src/redis/fixed_cache_impl.go @@ -98,7 +98,7 @@ func (this *fixedRateLimitCacheImpl) DoLimit( } } - // Only if none of the cache keys are over the limit, call Redis to check whether cache keys are getting overlimited. + // Only if none of the cache keys exceed the limit, call Redis to check whether the cache keys are becoming overlimited. if len(cacheKeys) > 1 && !isCacheKeyOverlimit { if pipelineToGet != nil { checkError(this.client.PipeDo(pipelineToGet))