Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 77 additions & 7 deletions Cargo.lock

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

8 changes: 8 additions & 0 deletions example.pgdog.toml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,14 @@ mirror_queue = 128
# - trust
auth_type = "scram"

# Authentication rate limit (attempts per minute per IP address).
#
# Prevents brute-force authentication attacks by limiting the number
# of authentication attempts from a single IP address.
#
# Default: 10
auth_rate_limit = 10

# Disable cross-shard queries.
#
# Default: false
Expand Down
2 changes: 1 addition & 1 deletion pgdog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ regex = "1"
uuid = { version = "1", features = ["v4", "serde"] }
url = "2"
ratatui = { version = "0.30.0-alpha.1", optional = true }
governor = "0.6"
rmp-serde = "1"
rust_decimal = { version = "1.36", features = ["db-postgres"] }
chrono = "0.4"
Expand All @@ -60,7 +61,6 @@ indexmap = "2.9"
lru = "0.16"
hickory-resolver = "0.25.2"
lazy_static = "1"
dashmap = "6"

[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.6"
Expand Down
1 change: 1 addition & 0 deletions pgdog/src/auth/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

pub mod error;
pub mod md5;
pub mod rate_limit;
pub mod scram;

pub use error::Error;
Expand Down
Loading