Skip to content

Commit 1c81473

Browse files
chore(pool): #67 timeouts, lifetime/idle caps, recycle strategies + sync pool (#176)
1 parent 6ab4a68 commit 1c81473

4 files changed

Lines changed: 1365 additions & 35 deletions

File tree

Cargo.lock

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

hyperdb-api/Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ tracing = { workspace = true }
2828
arrow = { version = "58", default-features = false, features = ["ipc"] }
2929
# SmallVec for memory-efficient collections that are typically small
3030
smallvec = "1.15"
31-
# Deadpool - async connection pool
32-
deadpool = { version = "0.13" }
31+
# Deadpool - async connection pool.
32+
# `rt_tokio_1` enables deadpool's Tokio-backed timeout enforcement, required by
33+
# `create_pool` whenever a wait/create/recycle timeout is configured. The sync
34+
# `ConnectionPool` path uses std primitives only and never touches this runtime.
35+
deadpool = { version = "0.13", features = ["rt_tokio_1"] }
3336
# tokio sync primitives — already present transitively via hyperdb-api-core's
3437
# async TCP client; declared here for the pool's first-connection mutex.
3538
tokio = { workspace = true, features = ["sync"] }

0 commit comments

Comments
 (0)