diff options
author | Roger Dingledine <arma@torproject.org> | 2006-09-15 18:03:53 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-09-15 18:03:53 +0000 |
commit | a51ec444664835b596379ff0ae1d33a3fd7de6e8 (patch) | |
tree | 06fd346eab357658c73f5c06fef3e1e909dba905 /src | |
parent | eb941420fc1ff2e97f4563b291c67f8fa048e594 (diff) | |
download | tor-a51ec444664835b596379ff0ae1d33a3fd7de6e8.tar.gz tor-a51ec444664835b596379ff0ae1d33a3fd7de6e8.zip |
avoid thrashing the bandwidth exercise when we change IPs a lot.
(we avoid simply by not doing any new tests when we change IPs --
it looks like we retain our previous bandwidth estimates, so there's
no need to do new exercise. though in some cases new exercises may
still be useful. one day we'll do something smarter.)
svn:r8402
Diffstat (limited to 'src')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index edec6282eb..698882ec05 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -490,7 +490,7 @@ server_has_changed_ip(void) stats_n_seconds_working = 0; can_reach_or_port = 0; can_reach_dir_port = 0; - reset_bandwidth_test(); +// reset_bandwidth_test(); mark_my_descriptor_dirty(); } |