소스 검색

Make ROUTERLIST_PRUNING_INTERVAL 1 hr.

rl1987 5 년 전
부모
커밋
411780d563
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/mainloop/mainloop.c

+ 1 - 1
src/core/mainloop/mainloop.c

@@ -2231,7 +2231,7 @@ retry_dns_callback(time_t now, const or_options_t *options)
 static int
 prune_old_routers_callback(time_t now, const or_options_t *options)
 {
-#define ROUTERLIST_PRUNING_INTERVAL (60) // 1 minute.
+#define ROUTERLIST_PRUNING_INTERVAL (60*60) // 1 hour.
   (void)now;
   (void)options;