Skip to content

Commit

Permalink
Update redis vesion to 0.29.1 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-sircar authored Mar 2, 2025
1 parent a6e9f87 commit cb79bed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ actix-web = { version = "4", default-features = false, features = ["macros"] }
dashmap = { version = "6.0", optional = true }
futures = "0.3.28"
log = "0.4.19"
redis = { version = "0.26", default-features = false, features = [
redis = { version = "0.29.1", default-features = false, features = [
"tokio-comp",
"aio",
"connection-manager",
Expand Down
4 changes: 2 additions & 2 deletions src/backend/redis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl Backend<SimpleInput> for RedisBackend {
.arg("NX")
.ignore();

pipe.query_async(&mut con).await?;
let () = pipe.query_async(&mut con).await?;

Ok(())
}
Expand All @@ -177,7 +177,7 @@ impl SimpleBackend for RedisBackend {
async fn remove_key(&self, key: &str) -> Result<(), Self::Error> {
let key = self.make_key(key);
let mut con = self.connection.clone();
con.del(key.as_ref()).await?;
let () = con.del(key.as_ref()).await?;
Ok(())
}
}
Expand Down

0 comments on commit cb79bed

Please sign in to comment.