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

juga at torproject.org juga at torproject.org
Sat Dec 1 09:57:01 UTC 2018


commit 4b6aa9554bee5cd44615ffc3b1177fa5e39208ba
Author: juga0 <juga at riseup.net>
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')
 





More information about the tor-commits mailing list