aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2010-05-07 14:43:56 -0700
committerMike Perry <mikeperry-git@fscked.org>2010-05-10 12:59:05 -0700
commit835ab531028911fbec6e9706a1ba33bcab37f102 (patch)
tree32bac58d77320d8fddb96b4500e47f0e3c91d64a /src/or/control.c
parent3bbc3e21375d8d792a25047e4219604efe377f9e (diff)
downloadtor-835ab531028911fbec6e9706a1ba33bcab37f102.tar.gz
tor-835ab531028911fbec6e9706a1ba33bcab37f102.zip
Add a TIMEOUT_RATE keyword to buildtimeout event.
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 5797edfdce..b5cc6c7b6d 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -3529,10 +3529,12 @@ control_event_buildtimeout_set(const circuit_build_times_t *cbt,
send_control_event(EVENT_BUILDTIMEOUT_SET, ALL_FORMATS,
"650 BUILDTIMEOUT_SET %s TOTAL_TIMES=%lu "
- "TIMEOUT_MS=%lu XM=%lu ALPHA=%lf CUTOFF_QUANTILE=%lf\r\n",
+ "TIMEOUT_MS=%lu XM=%lu ALPHA=%lf CUTOFF_QUANTILE=%lf "
+ "TIMEOUT_RATE=%lf\r\n",
type_string, (unsigned long)cbt->total_build_times,
(unsigned long)cbt->timeout_ms,
- (unsigned long)cbt->Xm, cbt->alpha, qnt);
+ (unsigned long)cbt->Xm, cbt->alpha, qnt,
+ circuit_build_times_timeout_rate(cbt));
return 0;
}