Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
Fixed redis command (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalvarezl authored Mar 11, 2021
1 parent 7d0d7a2 commit ec67f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ fn scan_match_count<P: ToRedisArgs, C: ToRedisArgs, RV: FromRedisValue>(
pattern: P,
count: C,
) -> redis::Iter<RV> {
redis::cmd("INFO")
redis::cmd("SCAN")
.cursor_arg(0)
.arg("MATCH")
.arg(pattern)
Expand Down

0 comments on commit ec67f8a

Please sign in to comment.