Skip to content

Commit 0a26f5d

Browse files
authored
Merge pull request #3043 from itowlson/pg-connection-pool
Pool Postgres connections
2 parents 5947a2c + 58b68da commit 0a26f5d

File tree

6 files changed

+351
-77
lines changed

6 files changed

+351
-77
lines changed

Cargo.lock

Lines changed: 210 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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ edition = { workspace = true }
77
[dependencies]
88
anyhow = { workspace = true }
99
chrono = { workspace = true }
10+
deadpool-postgres = { version = "0.14", features = ["rt_tokio_1"] }
11+
moka = { version = "0.12", features = ["sync"] }
1012
native-tls = "0.2"
1113
postgres-native-tls = "0.5"
1214
spin-core = { path = "../core" }

0 commit comments

Comments
 (0)