mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-16 22:40:13 +01:00
fix: use specified timeout in _run_rpc
This commit is contained in:
1 parent
bd5414288c
commit
bdb25206d9
1 file changed
+1
-1
@@ -349,7 +349,7 @@ class RPCBase:
|
||||
|
||||
if wait_for_rpc_response:
|
||||
try:
|
||||
finished = self._msg_wait_event.wait(10)
|
||||
finished = self._msg_wait_event.wait(timeout)
|
||||
if not finished:
|
||||
raise RPCResponseTimeoutError(request_id, timeout)
|
||||
finally:
|
||||
|
||||
Reference in new issue
Block a user