Skip to content

Commit

Permalink
#1912: actually honour the new switch and delete the old env var
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@19880 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 8, 2018
1 parent b55e881 commit 2aaa0af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/xpra/server/source/windows_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from xpra.os_util import monotonic_time, BytesIOClass, strtobytes
from xpra.util import typedict, envint, envbool, DEFAULT_METADATA_SUPPORTED, XPRA_BANDWIDTH_NOTIFICATION_ID

BANDWIDTH_DETECTION = envbool("XPRA_BANDWIDTH_DETECTION", True)
CONGESTION_WARNING_EVENT_COUNT = envint("XPRA_CONGESTION_WARNING_EVENT_COUNT", 10)
CONGESTION_REPEAT_DELAY = envint("XPRA_CONGESTION_REPEAT_DELAY", 60)
SAVE_CURSORS = envbool("XPRA_SAVE_CURSORS", False)
Expand Down Expand Up @@ -568,7 +567,7 @@ def client_ack_damage(self, damage_packet_sequence, wid, width, height, decode_t
# Methods used by WindowSource:
#
def record_congestion_event(self, source, late_pct=0, send_speed=0):
if not BANDWIDTH_DETECTION:
if not self.bandwidth_detection:
return
gs = self.statistics
if not gs:
Expand Down

0 comments on commit 2aaa0af

Please sign in to comment.