浏览代码

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