From 2abe1ceccfacaa8deca3b7bb4caeb550572efd7f Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Tue, 15 Jun 2010 18:02:19 -0700 Subject: Add CLOSE_MS and CLOSE_RATE keywords to buildtimeout event. --- src/or/control.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/or/control.c') diff --git a/src/or/control.c b/src/or/control.c index b5cc6c7b6..8cfebe647 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -3530,11 +3530,13 @@ 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 " - "TIMEOUT_RATE=%lf\r\n", + "TIMEOUT_RATE=%lf CLOSE_MS=%lu CLOSE_RATE=%lf\r\n", type_string, (unsigned long)cbt->total_build_times, (unsigned long)cbt->timeout_ms, (unsigned long)cbt->Xm, cbt->alpha, qnt, - circuit_build_times_timeout_rate(cbt)); + circuit_build_times_timeout_rate(cbt), + (unsigned long)cbt->close_ms, + circuit_build_times_close_rate(cbt)); return 0; } -- cgit v1.2.3