aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/rpc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/utils/rpc.hpp')
-rw-r--r--host/lib/utils/rpc.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/utils/rpc.hpp b/host/lib/utils/rpc.hpp
index 1ae4f3c74..ac619ef58 100644
--- a/host/lib/utils/rpc.hpp
+++ b/host/lib/utils/rpc.hpp
@@ -134,6 +134,11 @@ class rpc_client
_token = token;
}
+ void set_timeout(size_t timeout_ms)
+ {
+ _client.set_timeout(timeout_ms);
+ }
+
private:
std::string _token;
std::mutex _mutex;