aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2009-09-06 21:05:17 -0700
committerMike Perry <mikeperry-git@fscked.org>2009-09-16 15:55:50 -0700
commitc9363df09ffa25ff01a3546a01d6bf204280913f (patch)
tree880bacfd7b312744c6b1c2e69b02ffed9f163e25 /src/or/circuitbuild.c
parent63be2df84f7d23aa92426d6253ff18840e152254 (diff)
downloadtor-c9363df09ffa25ff01a3546a01d6bf204280913f.tar
tor-c9363df09ffa25ff01a3546a01d6bf204280913f.tar.gz
Remove an assert.
It seems to fire because of precision issues. Added more debug info to the warn to try to figure out for sure.
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index a140f0ae6..95ac2e4e6 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -464,8 +464,8 @@ circuit_build_times_add_timeout_worker(circuit_build_times_t *cbt,
if (gentime < (build_time_t)cbt->timeout*1000) {
log_warn(LD_CIRC,
"Generated a synthetic timeout LESS than the current timeout: "
- "%u vs %d", gentime, cbt->timeout*1000);
- tor_assert(gentime >= (build_time_t)cbt->timeout*1000);
+ "%u vs %d using Xm: %d a: %lf, q: %lf",
+ gentime, cbt->timeout*1000, cbt->Xm, cbt->alpha, quantile_cutoff);
} else if (gentime > BUILD_TIME_MAX) {
gentime = BUILD_TIME_MAX;
log_info(LD_CIRC,