Skip to content

Commit

Permalink
Rust: modify sorted set command types to RESP3
Browse files Browse the repository at this point in the history
------------

Co-authored-by: Adan Wattad <[email protected]>
  • Loading branch information
shohamazon and Adan Wattad authored Feb 12, 2024
1 parent 3d3979c commit 47bc798
Show file tree
Hide file tree
Showing 2 changed files with 323 additions and 22 deletions.
2 changes: 1 addition & 1 deletion glide-core/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ impl Client {
routing: Option<RoutingInfo>,
) -> redis::RedisFuture<'a, Value> {
let expected_type = expected_type_for_cmd(cmd);
run_with_timeout(self.request_timeout, async {
run_with_timeout(self.request_timeout, async move {
match self.internal_client {
ClientWrapper::Standalone(ref mut client) => client.send_command(cmd).await,

Expand Down
Loading

0 comments on commit 47bc798

Please sign in to comment.