diff options
author | David Goulet <dgoulet@torproject.org> | 2018-02-06 12:51:43 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-02-06 12:56:36 -0500 |
commit | 93ebcc2b8f8f22f2628cf74cc92674c8fbeb7b9a (patch) | |
tree | 52373055d69e8f78e3797420856171858ecf5571 /src/or/rephist.h | |
parent | 199bc37290d60b155bdd4c82c5f2d4b9096bd496 (diff) | |
download | tor-93ebcc2b8f8f22f2628cf74cc92674c8fbeb7b9a.tar.gz tor-93ebcc2b8f8f22f2628cf74cc92674c8fbeb7b9a.zip |
rephist: Stop tracking relay connection status
Remove a series of connection counters that were only used when dumping the
rephist statistics with SIGUSR1 signal.
This reduces the or_history_t structure size.
Closes #25163
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rephist.h')
-rw-r--r-- | src/or/rephist.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/rephist.h b/src/or/rephist.h index 1f3ab3a289..5072721592 100644 --- a/src/or/rephist.h +++ b/src/or/rephist.h @@ -13,10 +13,6 @@ #define TOR_REPHIST_H void rep_hist_init(void); -void rep_hist_note_connect_failed(const char* nickname, time_t when); -void rep_hist_note_connect_succeeded(const char* nickname, time_t when); -void rep_hist_note_disconnect(const char* nickname, time_t when); -void rep_hist_note_connection_died(const char* nickname, time_t when); void rep_hist_dump_stats(time_t now, int severity); void rep_hist_note_bytes_read(size_t num_bytes, time_t when); void rep_hist_note_bytes_written(size_t num_bytes, time_t when); |