diff --git a/shadowsocks/tcprelay.py b/shadowsocks/tcprelay.py index fcaadb0..f4551f2 100644 --- a/shadowsocks/tcprelay.py +++ b/shadowsocks/tcprelay.py @@ -97,7 +97,7 @@ UDP_MAX_BUF_SIZE = 65536 class SpeedTester(object): def __init__(self, max_speed = 0): self.max_speed = max_speed * 1024 - self.timeout = 5 + self.timeout = 1 self._cache = deque() self.sum_len = 0