aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-09-29 14:40:34 +0000
committerNick Mathewson <nickm@torproject.org>2008-09-29 14:40:34 +0000
commit57db1c1a7dd4a1fd85fa462951737880189e5965 (patch)
treec6958b140d894f67a2addbc278f653622a2e1967 /src/or/dirserv.c
parentee0078ead4d41dc87c080ab5d9ec955770aca3de (diff)
downloadtor-57db1c1a7dd4a1fd85fa462951737880189e5965.tar.gz
tor-57db1c1a7dd4a1fd85fa462951737880189e5965.zip
Tweak the dbg-stability.txt code to log everything else that influences router stability calculations.
svn:r17003
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index b7080aa785..3659babd02 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1814,14 +1814,15 @@ dirserv_compute_performance_thresholds(routerlist_t *rl)
"Cutoffs: For Stable, %lu sec uptime, %lu sec MTBF. "
"For Fast: %lu bytes/sec. "
"For Guard: WFU %.03lf%%, time-known %lu sec, "
- "and bandwidth %lu or %lu bytes/sec.",
+ "and bandwidth %lu or %lu bytes/sec. We do%s have enough stability data.",
(unsigned long)stable_uptime,
(unsigned long)stable_mtbf,
(unsigned long)fast_bandwidth,
guard_wfu*100,
(unsigned long)guard_tk,
(unsigned long)guard_bandwidth_including_exits,
- (unsigned long)guard_bandwidth_excluding_exits);
+ (unsigned long)guard_bandwidth_excluding_exits,
+ enough_mtbf_info ? "" : "not ");
tor_free(uptimes);
tor_free(mtbfs);