fix(proxy): 修复 Clippy dead_code 与 too_many_arguments 警告

This commit is contained in:
fawney19
2026-04-12 16:19:23 +08:00
parent e029012f73
commit f84febbf89
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ const DELEGATE_TO_UPSTREAM: &[(&str, &str)] = &[
/// 307/308 redirects. Kept aligned with the current admin-side request size
/// default, but exposed as an independent proxy transport budget.
pub const DEFAULT_HEARTBEAT_INTERVAL_SECS: u64 = 30;
#[allow(dead_code)]
pub const DEFAULT_REDIRECT_REPLAY_BUDGET_BYTES: usize = 5_242_880;
pub const DEFAULT_REDIRECT_REPLAY_BUDGET_HUMAN: &str = "5M";
pub const DEFAULT_LOG_RETENTION_DAYS: u64 = 7;