diff options
author | Trung Trang <trung.tran@ettus.com> | 2018-04-30 14:27:13 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-04-30 14:36:29 -0700 |
commit | 0f7d3b6f71b20762c2f6aee942572c58aff0d42b (patch) | |
tree | ad63dfc64c565a4a59cdccaf8077741469767f22 /mpm | |
parent | 546aa04355ff34924ce1d00fd003cb0ee63c8cf9 (diff) | |
download | uhd-0f7d3b6f71b20762c2f6aee942572c58aff0d42b.tar.gz uhd-0f7d3b6f71b20762c2f6aee942572c58aff0d42b.tar.bz2 uhd-0f7d3b6f71b20762c2f6aee942572c58aff0d42b.zip |
mpm: rpc server: Remove disable_commit for init()
The async calls to long C++ methods allows the claimer loop to smoothly
continue during init, so this hack is no longer necessary.
Diffstat (limited to 'mpm')
-rw-r--r-- | mpm/python/usrp_mpm/rpc_server.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py index 306d74309..29ad3daa8 100644 --- a/mpm/python/usrp_mpm/rpc_server.py +++ b/mpm/python/usrp_mpm/rpc_server.py @@ -436,7 +436,6 @@ class MPMServer(RPCServer): ) self._last_error = "init() called without valid claim." raise RuntimeError("init() called without valid claim.") - self._disable_timeouts = True # Stop the timer, inits can take some time. try: result = self.periph_manager.init(args) except Exception as ex: @@ -444,7 +443,6 @@ class MPMServer(RPCServer): self.log.error("init() failed with error: %s", str(ex)) finally: self.log.debug("init() result: {}".format(result)) - self._disable_timeouts = False return result ########################################################################### |