aboutsummaryrefslogtreecommitdiffstats
path: root/mpm
diff options
context:
space:
mode:
authorTrung Trang <trung.tran@ettus.com>2018-04-30 13:59:56 -0700
committerMartin Braun <martin.braun@ettus.com>2018-04-30 14:36:29 -0700
commitbd147765003dd3aa810f152f0c38277ac86bdf4a (patch)
tree3e495f39fcd0118e91f96a79ebaac5b41ff2993e /mpm
parentdd34b638444582f7b5d081e4e548e6e2b602bec3 (diff)
downloaduhd-bd147765003dd3aa810f152f0c38277ac86bdf4a.tar.gz
uhd-bd147765003dd3aa810f152f0c38277ac86bdf4a.tar.bz2
uhd-bd147765003dd3aa810f152f0c38277ac86bdf4a.zip
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.
Diffstat (limited to 'mpm')
-rw-r--r--mpm/python/usrp_mpm/rpc_server.py2
1 files changed, 1 insertions, 1 deletions
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)