[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] relaylist: add burst_bandwidth property



commit 4b6aa9554bee5cd44615ffc3b1177fa5e39208ba
Author: juga0 <juga@xxxxxxxxxx>
Date:   Fri Nov 23 07:46:03 2018 +0000

    relaylist: add burst_bandwidth property
    
    In order to use it in torflow's scaling method
---
 sbws/lib/relaylist.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sbws/lib/relaylist.py b/sbws/lib/relaylist.py
index 9402574..5ec9252 100644
--- a/sbws/lib/relaylist.py
+++ b/sbws/lib/relaylist.py
@@ -75,6 +75,10 @@ class Relay:
         return self._from_desc('average_bandwidth')
 
     @property
+    def burst_bandwidth(self):
+        return self._from_desc('burst_bandwidth')
+
+    @property
     def observed_bandwidth(self):
         return self._from_desc('observed_bandwidth')
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits