Skip to content

Commit

Permalink
Modify the comment (#447)
Browse files Browse the repository at this point in the history
Signed-off-by: chashikajw <[email protected]>
  • Loading branch information
chashikajw authored Sep 16, 2023
1 parent 33c8573 commit 624a589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redis/fixed_cache_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 624a589

Please sign in to comment.