Skip to content

Commit 0fc068a

Browse files
dependabot[bot]lutter
authored andcommitted
build(deps): bump redis from 0.31.0 to 1.0.2
Bumps [redis](https://github.com/redis-rs/redis-rs) from 0.31.0 to 1.0.2. - [Release notes](https://github.com/redis-rs/redis-rs/releases) - [Commits](redis-rs/redis-rs@redis-0.31.0...redis-1.0.2) --- updated-dependencies: - dependency-name: redis dependency-version: 1.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent 748fe20 commit 0fc068a

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

Cargo.lock

Lines changed: 13 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ itertools = "0.14.0"
6868
lazy_static = "1.5.0"
6969
prost = "0.13"
7070
prost-types = "0.13"
71-
redis = { version = "0.31.0", features = [
71+
redis = { version = "1.0.2", features = [
7272
"aio",
7373
"connection-manager",
7474
"tokio-comp",

graph/src/ipfs/cache.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ impl RedisClient {
3333
let env = &ENV_VARS.mappings;
3434
let client = redis::Client::open(path)?;
3535
let cfg = ConnectionManagerConfig::default()
36-
.set_connection_timeout(env.ipfs_timeout)
37-
.set_response_timeout(env.ipfs_timeout);
36+
.set_connection_timeout(Some(env.ipfs_timeout))
37+
.set_response_timeout(Some(env.ipfs_timeout));
3838
info!(logger, "Connecting to Redis for IPFS caching"; "url" => path);
3939
// Try to connect once synchronously to check if the server is reachable.
4040
let _ = client.get_connection()?;

0 commit comments

Comments
 (0)