[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8725: move the 'time jump' warning back to a higher threshold. thi (tor/trunk/src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r8725: move the 'time jump' warning back to a higher threshold. thi (tor/trunk/src/or)
- From: arma@xxxxxxxx
- Date: Sat, 14 Oct 2006 22:32:18 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sat, 14 Oct 2006 22:32:27 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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