[or-cvs] r8725: move the 'time jump' warning back to a higher threshold. thi (tor/trunk/src/or)

arma at seul.org arma at seul.org
Sun Oct 15 02:32:18 UTC 2006


Author: arma
Date: 2006-10-14 22:32:16 -0400 (Sat, 14 Oct 2006)
New Revision: 8725

Modified:
   tor/trunk/src/or/main.c
Log:
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.


Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2006-10-14 20:41:48 UTC (rev 8724)
+++ tor/trunk/src/or/main.c	2006-10-15 02:32:16 UTC (rev 8725)
@@ -1014,8 +1014,7 @@
 
 /** 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



More information about the tor-commits mailing list