[sbws/master] relaylist: add burst_bandwidth property

1 Dec
2018
1 Dec
'18
9:57 a.m.
commit 4b6aa9554bee5cd44615ffc3b1177fa5e39208ba Author: juga0 <juga@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')
2359
Age (days ago)
2359
Last active (days ago)
0 comments
1 participants
participants (1)
-
juga@torproject.org