From bd147765003dd3aa810f152f0c38277ac86bdf4a Mon Sep 17 00:00:00 2001 From: Trung Trang Date: Mon, 30 Apr 2018 13:59:56 -0700 Subject: mpm: rpc server: Increase claim timeout to 5 seconds Usually, the current timeout is fine, but there are cases when a lot of RPC traffic could drown out the reclaim calls. 5 seconds is an experimentally derived safe value. --- mpm/python/usrp_mpm/rpc_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py index f8f5d628a..306d74309 100644 --- a/mpm/python/usrp_mpm/rpc_server.py +++ b/mpm/python/usrp_mpm/rpc_server.py @@ -29,7 +29,7 @@ from usrp_mpm.mpmutils import to_binary_str from usrp_mpm.sys_utils import watchdog from usrp_mpm.sys_utils import net -TIMEOUT_INTERVAL = 4.0 # Seconds before claim expires (default value) +TIMEOUT_INTERVAL = 5.0 # Seconds before claim expires (default value) TOKEN_LEN = 16 # Length of the token string # Compatibility number for MPM MPM_COMPAT_NUM = (1, 2) -- cgit v1.2.3