[tor-commits] [pytorctl/master] Add TorCtl piece of the fix for #1984.
mikeperry at torproject.org
mikeperry at torproject.org
Tue Nov 1 04:37:28 UTC 2011
commit a58246918f58f3fc5663f8772df39cdcd3ccce8d
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Mon Oct 31 21:33:20 2011 -0700
Add TorCtl piece of the fix for #1984.
---
SQLSupport.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/SQLSupport.py b/SQLSupport.py
index b7c9a82..40cbdf7 100644
--- a/SQLSupport.py
+++ b/SQLSupport.py
@@ -674,6 +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(" desc_bw="+str(int(cvt(s.avg_desc_bw,0))))
f.write(" ns_bw="+str(int(cvt(s.avg_bw,0)))+"\n")
More information about the tor-commits
mailing list