[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [pytorctl/master] Don't round the circ fail rate.
commit 391b4399adda91e8b68ffd6e1fa294efe846debd
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
Date: Fri Nov 4 15:41:54 2011 -0700
Don't round the circ fail rate.
---
SQLSupport.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/SQLSupport.py b/SQLSupport.py
index 40cbdf7..e50dd71 100644
--- a/SQLSupport.py
+++ b/SQLSupport.py
@@ -674,7 +674,7 @@ class RouterStats(Entity):
f.write("node_id=$"+s.router.idhex+" nick="+s.router.nickname)
f.write(" strm_bw="+str(cvt(s.sbw,0)))
f.write(" filt_bw="+str(cvt(s.filt_sbw,0)))
- f.write(" circ_fail_rate="+str(cvt(s.circ_to_rate,0)))
+ f.write(" circ_fail_rate="+str(s.circ_to_rate))
f.write(" desc_bw="+str(int(cvt(s.avg_desc_bw,0))))
f.write(" ns_bw="+str(int(cvt(s.avg_bw,0)))+"\n")
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits