Skip to content

Commit

Permalink
feat: use redis connection_manager to manage reconnection + handles e…
Browse files Browse the repository at this point in the history
…rrors on redis operations

Signed-off-by: Stefano Cappa <[email protected]>
  • Loading branch information
Ks89 committed Jan 2, 2025
1 parent ebb9aad commit d2c6309
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 59 deletions.
105 changes: 64 additions & 41 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ panic = "abort"

[dependencies]
thiserror = "2.0.9"
anyhow = "1.0.94"
rocket = { version = "0.5.1", features = ["uuid", "secrets", "json"] }
tokio = { version = "^1.42.0", features = ["full"] }
redis = { version = "^0.27.6", features = ["tokio-comp", "connection-manager", "aio", "ahash", "r2d2"] }
Expand Down
Loading

0 comments on commit d2c6309

Please sign in to comment.