Fix Apple builds

This commit is contained in:
eric
2026-03-03 16:46:51 +08:00
parent b7453f50ff
commit 4dd6f89493

View File

@@ -66,14 +66,14 @@ lazy_static! {
pub static ref DNS_CACHE_SIZE: usize = {
get_env_var_or("DNS_CACHE_SIZE", 512)
};
}
lazy_static! {
/// Maximum number of recent connections stored in StatManager.
pub static ref MAX_RECENT_CONNECTIONS: usize = {
get_env_var_or("MAX_RECENT_CONNECTIONS", 0)
};
}
lazy_static! {
pub static ref HTTP_USER_AGENT: String = {
get_env_var_or_else(
"HTTP_USER_AGENT",