소스 검색

conf: modify default serve_expired_ttl 1 day to 3 days

Nick Peng 2 년 전
부모
커밋
56d711a796
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/dns_conf.c

+ 1 - 1
src/dns_conf.c

@@ -86,7 +86,7 @@ enum response_mode_type dns_conf_response_mode;
 int dns_conf_cachesize = -1;
 int dns_conf_prefetch = 0;
 int dns_conf_serve_expired = 1;
-int dns_conf_serve_expired_ttl = 24 * 3600; /* 1 day */
+int dns_conf_serve_expired_ttl = 24 * 3600 * 3; /* 3 days */
 int dns_conf_serve_expired_prefetch_time;
 int dns_conf_serve_expired_reply_ttl = 3;