规则更新

This commit is contained in:
2026-08-12 11:36:17 +08:00
parent ffc885b86d
commit 613e73e1dc
+8
View File
@@ -0,0 +1,8 @@
#pragma once
// 出口 IPv4 缓存有效期,单位秒;0 表示永不过期。
inline constexpr int public_ipv4_cache_ttl_seconds = 7 * 24 * 60 * 60;
// 出口 IPv6 缓存有效期,单位秒;0 表示永不过期。
inline constexpr int public_ipv6_cache_ttl_seconds = 7 * 24 * 60 * 60;
// true 表示对应缓存过期就重查;false 表示过期且缺少对应 IP 才重查。
inline constexpr bool radical_ipv4 = true;
inline constexpr bool radical_ipv6 = true;