Skip to content

Commit

Permalink
deps: bump redis from 0.23.3 to 0.24.0
Browse files Browse the repository at this point in the history
Pull-Request: #4999.
  • Loading branch information
dependabot[bot] authored Jun 12, 2024
1 parent fb6bd36 commit b3aa10d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hole-punching-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env_logger = "0.10.2"
futures = { workspace = true }
libp2p = { path = "../libp2p", features = ["tokio", "dcutr", "identify", "macros", "noise", "ping", "relay", "tcp", "yamux", "quic"] }
tracing = { workspace = true }
redis = { version = "0.23.0", default-features = false, features = ["tokio-comp"] }
redis = { version = "0.24.0", default-features = false, features = ["tokio-comp"] }
tokio = { workspace = true, features = ["full"] }
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.117"
Expand Down
2 changes: 1 addition & 1 deletion hole-punching-tests/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ impl RedisClient {

let value = self
.inner
.blpop::<_, HashMap<String, String>>(key, 0)
.blpop::<_, HashMap<String, String>>(key, 0.0)
.await?
.remove(key)
.with_context(|| format!("Failed to get value for {key} from redis"))?
Expand Down
2 changes: 1 addition & 1 deletion interop-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ libp2p-noise = { workspace = true }
libp2p-tls = { workspace = true }
libp2p-webrtc = { workspace = true, features = ["tokio"] }
mime_guess = "2.0"
redis = { version = "0.23.3", default-features = false, features = [
redis = { version = "0.24.0", default-features = false, features = [
"tokio-comp",
] }
rust-embed = "8.4"
Expand Down
2 changes: 1 addition & 1 deletion interop-tests/src/arch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ pub(crate) mod native {

pub(crate) async fn blpop(&self, key: &str, timeout: u64) -> Result<Vec<String>> {
let mut conn = self.0.get_async_connection().await?;
Ok(conn.blpop(key, timeout as usize).await?)
Ok(conn.blpop(key, timeout as f64).await?)
}

pub(crate) async fn rpush(&self, key: &str, value: String) -> Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion interop-tests/src/bin/wasm_ping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async fn redis_blpop(
StatusCode::INTERNAL_SERVER_ERROR
})?;
let res = conn
.blpop(&request.key, request.timeout as usize)
.blpop(&request.key, request.timeout as f64)
.await
.map_err(|e| {
tracing::warn!(
Expand Down

0 comments on commit b3aa10d

Please sign in to comment.