aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-07-25 10:29:21 +0000
committerRoger Dingledine <arma@torproject.org>2005-07-25 10:29:21 +0000
commit1e0fdcae988293a333686d9679d2defa6d2d2d26 (patch)
tree19e462909961ea547d55708d447bb193f3f2e688 /src/or/rephist.c
parent2fa109102ae491202e096f836f33ec85d82a6d90 (diff)
downloadtor-1e0fdcae988293a333686d9679d2defa6d2d2d26.tar
tor-1e0fdcae988293a333686d9679d2defa6d2d2d26.tar.gz
parameterize RephistTrackTime
svn:r4673
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c2
1 files changed, 1 insertions, 1 deletions
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:");