From 1e0fdcae988293a333686d9679d2defa6d2d2d26 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 25 Jul 2005 10:29:21 +0000 Subject: parameterize RephistTrackTime svn:r4673 --- src/or/rephist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/rephist.c') diff --git a/src/or/rephist.c b/src/or/rephist.c index ea8756a72..f208bf95f 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -290,7 +290,7 @@ rep_hist_dump_stats(time_t now, int severity) unsigned long upt, downt; routerinfo_t *r; - rep_history_clean(now-24*60*60); + rep_history_clean(now - get_options()->RephistTrackTime); log(severity, "--------------- Dumping history information:"); -- cgit v1.2.3