Skip to content

Commit

Permalink
fix: using connection manager for a persistent redis connection
Browse files Browse the repository at this point in the history
  • Loading branch information
sagojez committed Oct 16, 2024
1 parent 6a43438 commit d5a380e
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 310 deletions.
58 changes: 34 additions & 24 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ moka = { version = "0.12.4", features = ["future"] }
mongodb = "2.8.0"
openapiv3 = { version = "2.0.0", features = ["skip_serializing_defaults"] }
rand = "0.8.5"
redis = { version = "0.25", features = ["connection-manager", "tokio-comp"] }
redis = { version = "0.27", features = ["connection-manager", "tokio-comp"] }
reqwest = { version = "0.12.7", features = [
"json",
"rustls-tls",
Expand Down
2 changes: 1 addition & 1 deletion integrationos-cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ integrationos-domain = { path = "../integrationos-domain", features = ["dummy"]
moka.workspace = true
fake.workspace = true
mongodb.workspace = true
redis = { workspace = true, features = ["tls-native-tls", "tls", "tokio-native-tls-comp", "json"] }
redis = { workspace = true, features = ["tls-native-tls", "tls", "tokio-native-tls-comp", "json", "aio", "connection-manager"] }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
tokio.workspace = true
Expand Down
Loading

0 comments on commit d5a380e

Please sign in to comment.