Skip to content

Commit 58b68da

Browse files
committed
Use moka for caching pools
Signed-off-by: itowlson <[email protected]>
1 parent 08fecec commit 58b68da

File tree

6 files changed

+242
-52
lines changed

6 files changed

+242
-52
lines changed

Cargo.lock

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

crates/factor-outbound-pg/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ edition = { workspace = true }
88
anyhow = { workspace = true }
99
chrono = { workspace = true }
1010
deadpool-postgres = { version = "0.14", features = ["rt_tokio_1"] }
11+
moka = { version = "0.12", features = ["sync"] }
1112
native-tls = "0.2"
1213
postgres-native-tls = "0.5"
1314
spin-core = { path = "../core" }

0 commit comments

Comments
 (0)