diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-29 14:02:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-29 14:02:12 -0400 |
commit | b0e078d5af9d30d87060990e3a52fd16c63148e2 (patch) | |
tree | 6626a66f363f5a03117d220fe876aa0bc6ba1564 /src/or/status.c | |
parent | acc7623420139d13377ac441e8d5c5f468cf95c5 (diff) | |
download | tor-b0e078d5af9d30d87060990e3a52fd16c63148e2.tar.gz tor-b0e078d5af9d30d87060990e3a52fd16c63148e2.zip |
Log info on ancient one-hop circuits in heartbeat
This is an attempt to diagnose 8387.
Diffstat (limited to 'src/or/status.c')
-rw-r--r-- | src/or/status.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/status.c b/src/or/status.c index 7e2afbce80..afaa9de840 100644 --- a/src/or/status.c +++ b/src/or/status.c @@ -9,6 +9,7 @@ #define STATUS_PRIVATE #include "or.h" +#include "circuituse.h" #include "config.h" #include "status.h" #include "nodelist.h" @@ -135,6 +136,8 @@ log_heartbeat(time_t now) if (public_server_mode(options)) rep_hist_log_circuit_handshake_stats(now); + circuit_log_ancient_one_hop_circuits(1800); + tor_free(uptime); tor_free(bw_sent); tor_free(bw_rcvd); |