dns-worker 1.2.1-alpha.caae603 → 1.2.1-canary.092fd10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env.serverfull CHANGED
@@ -115,6 +115,10 @@ PREAUTH_TTL_SECONDS=300
115
115
  # Throttle interval for updating session "last active" status in database (in seconds) / 会话活跃时间写入数据库节流间隔 (秒)
116
116
  SESSION_LAST_ACTIVE_UPDATE_INTERVAL=60
117
117
 
118
+ # Maximum in-memory DNS resolution cache capacity / 内存 DNS 解析结果缓存最大容量条数 (default: 20000)
119
+ # 针对高频重复解析直接在毫秒级内从内存返回结果,大幅降低上游递归发包开销
120
+ DNS_CACHE_SIZE=20000
121
+
118
122
  # In-memory authentication micro-cache TTL for dashboard requests (in seconds) / 鉴权内存微缓存有效期 (秒)
119
123
  AUTH_CACHE_TTL_SEC=30
120
124