From 7c2d1f45e712d4861871be26cc04f5397cd8cab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20W=C3=B3jcik?= Date: Fri, 24 Apr 2026 14:58:42 +0200 Subject: [PATCH] disable rate limiter by default --- example-config.toml | 4 ++-- src/config.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example-config.toml b/example-config.toml index 38beb76..066b626 100644 --- a/example-config.toml +++ b/example-config.toml @@ -7,6 +7,6 @@ http_port = 8080 grpc_port = 50051 log_level = "info" -rate_limit_per_second = 100 -rate_limit_burst = 1000 +rate_limit_per_second = 0 +rate_limit_burst = 0 acme_staging = false diff --git a/src/config.rs b/src/config.rs index 83b51cb..9c051c0 100644 --- a/src/config.rs +++ b/src/config.rs @@ -29,11 +29,11 @@ fn default_adoption_timeout() -> u64 { } fn default_rate_limit_per_second() -> u64 { - 100 + 0 } fn default_rate_limit_burst() -> u32 { - 1000 + 0 } #[derive(Parser, Debug, Deserialize, Clone)]