From f8ed138577b5130bb69f3afcd3d1d136e3c47274 Mon Sep 17 00:00:00 2001 From: MBCmbc <806166563@qq.com> Date: Sat, 6 Mar 2021 20:27:48 +0800 Subject: [PATCH] fix bug of settimeout --- ride/data_path_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ride/data_path_monitor.py b/ride/data_path_monitor.py index 9a5240a..d76f5b5 100644 --- a/ride/data_path_monitor.py +++ b/ride/data_path_monitor.py @@ -103,7 +103,7 @@ def set_probe_timeout(self, new_timeout): :param new_timeout: in milliseconds :return: """ - self._probing_socket.settimeout(new_timeout / 1000.0) + self._probing_socket.settimeout(3.0 + new_timeout / 1000.0) def recv_response(self): """