Skip to content

Commit

Permalink
submodules: merge from redis-rs for pubsub
Browse files Browse the repository at this point in the history
Signed-off-by: Shoham Elias <shohame@amazon.com>
  • Loading branch information
shohamazon committed Jul 29, 2024
1 parent 1e3a396 commit 8dd199a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions glide-core/src/client/standalone_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,9 @@ impl StandaloneClient {
Some(ResponsePolicy::CombineArrays) => future::try_join_all(requests)
.await
.and_then(cluster_routing::combine_array_results),
Some(ResponsePolicy::CombineMaps) => future::try_join_all(requests)
.await
.and_then(cluster_routing::combine_map_results),
Some(ResponsePolicy::Special) | None => {
// This is our assumption - if there's no coherent way to aggregate the responses, we just collect them in an array, and pass it to the user.
// TODO - once Value::Error is merged, we can use join_all and report separate errors and also pass successes.
Expand Down

0 comments on commit 8dd199a

Please sign in to comment.