Skip to content

Commit

Permalink
Add a timeout around the database locks.
Browse files Browse the repository at this point in the history
  • Loading branch information
partim committed Feb 6, 2025
1 parent 27b9eea commit 7ac8925
Show file tree
Hide file tree
Showing 4 changed files with 266 additions and 67 deletions.
11 changes: 0 additions & 11 deletions Cargo.lock

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

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ percent-encoding = "2.3.1"
pin-project-lite = "0.2.15"
postgres = { version = "0.19", features = ["with-serde_json-1"], optional = true }
postgres-types = { version = "0.2", features = ["derive"], optional = true }
r2d2_postgres = { version = "0.18", optional = true }
r2d2 = { version = "0.8.10", optional = true }
rand = "0.8"
regex = { version = "1.11.1", optional = true, default-features = false, features = [ "std" ] }
Expand Down Expand Up @@ -78,7 +77,7 @@ syslog = "6.1.1"

[features]
default = ["multi-user", "hsm", "postgres"]
hsm = ["backoff", "kmip", "cryptoki", "r2d2"]
hsm = ["backoff", "kmip", "cryptoki", "dep:r2d2"]
multi-user = [
"basic-cookies",
"regex",
Expand All @@ -88,7 +87,7 @@ multi-user = [
"unicode-normalization",
"urlparse",
]
postgres = ["dep:postgres", "dep:r2d2_postgres", "dep:postgres-types"]
postgres = ["dep:postgres", "dep:r2d2", "dep:postgres-types"]
static-openssl = ["openssl/vendored"]

# Preview features - not ready for production use
Expand Down
1 change: 1 addition & 0 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ pub mod client;
pub mod options;
pub mod report;
pub mod ta;

Loading

0 comments on commit 7ac8925

Please sign in to comment.