소스 검색

move the 'time jump' warning back to a higher threshold.
this still occurs on moria sometimes if it's swapping to death.
so be it.


svn:r8725

Roger Dingledine 19 년 전
부모
커밋
584d598e8a
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/or/main.c

+ 1 - 2
src/or/main.c

@@ -1014,8 +1014,7 @@ second_elapsed_callback(int fd, short event, void *args)
 
 /** If more than this many seconds have elapsed, probably the clock
  * jumped: doesn't count. */
-#define NUM_JUMPED_SECONDS_BEFORE_WARN 10
-/* This used to be 100, but I cranked it down for Mike Chiussi -RD */
+#define NUM_JUMPED_SECONDS_BEFORE_WARN 100
   if (seconds_elapsed < NUM_JUMPED_SECONDS_BEFORE_WARN)
     stats_n_seconds_working += seconds_elapsed;
   else