Skip to content

Commit 8694769

Browse files
authored
ROX-33540: adds rate limiting (#499)
- RateLimiter component added between HostScanner and Output - Metrics added to monitor dropped events - Tests added to confirm rate limiting behavior
1 parent d4214c3 commit 8694769

10 files changed

Lines changed: 527 additions & 5 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ clap = { version = "4.5.41", features = ["derive", "env"] }
1818
env_logger = { version = "0.11.5", default-features = false, features = ["humantime"] }
1919
glob = "0.3.3"
2020
globset = "0.4.18"
21+
governor = "0.10.4"
2122
http-body-util = "0.1.3"
2223
hyper = { version = "1.6.0", default-features = false }
2324
hyper-tls = "0.6.0"

fact/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ clap = { workspace = true }
1212
env_logger = { workspace = true }
1313
glob = { workspace = true }
1414
globset = { workspace = true }
15+
governor = { workspace = true }
1516
http-body-util = { workspace = true }
1617
hyper = { workspace = true }
1718
hyper-tls = { workspace = true }

0 commit comments

Comments
 (0)