Skip to content

Commit

Permalink
Merge pull request #5227 from xcp-ng/gtn-add-timeout-to-gnumon-client
Browse files Browse the repository at this point in the history
  • Loading branch information
psafont authored Nov 7, 2023
2 parents fa899ba + 637a14c commit 153a385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xapi-idl/gpumon/gpumon_client.ml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let xml_url () = "file:" ^ Gpumon_interface.xml_path

let rpc call =
if !Xcp_client.use_switch then
Xcp_client.json_switch_rpc Gpumon_interface.queue_name call
Xcp_client.json_switch_rpc ~timeout:10 Gpumon_interface.queue_name call
else
Xcp_client.xml_http_rpc
~srcstr:(Xcp_client.get_user_agent ())
Expand Down

0 comments on commit 153a385

Please sign in to comment.