Do some connection pooling.

This prevents exhaustion of connections and also
has some performance benefits.
This commit is contained in:
2026-05-01 21:29:04 +01:00
parent aae997fc41
commit 13b82d66c6
4 changed files with 83 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ aws-config = "1"
aws-sdk-s3 = "1"
futures-util = "0.3"
lapin = "2"
diesel = { version = "2", features = ["postgres"] }
diesel = { version = "2", features = ["postgres", "r2d2"] }
reqwest = { version = "0.12", features = ["blocking", "json", "rustls-tls"], default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = "1"