From 8451bbe7e6f41f4da2ebc62c29878c2a74d28958 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 10 Jun 2022 18:17:48 +0200 Subject: [PATCH] Tuned resource window --- RNS/Resource.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/RNS/Resource.py b/RNS/Resource.py index 1667b45..1b56f11 100644 --- a/RNS/Resource.py +++ b/RNS/Resource.py @@ -65,9 +65,10 @@ class Resource: # If the RTT rate is higher than this value, # the max window size for fast links will be used. - # The default is 3 Mbps (the value is stored in - # bytes per second). - RATE_FAST = (3*1000*1000)/8 + # The default is 675 Kbps (the value is stored in + # bytes per second, hence the "/ 8"). + # TODO: Reset + RATE_FAST = (675*1000) / 8 # The minimum allowed flexibility of the window size. # The difference between window_max and window_min