Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Commit

Permalink
Fixes #114 Uses timeout in the proxy
Browse files Browse the repository at this point in the history
Now we are passing the given timeout value in any API call to
the proxy object in Qubes.
  • Loading branch information
kushaldas committed Mar 30, 2020
1 parent ddcecaa commit 86c2f13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdclientapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ def _send_rpc_json_request(
if headers is not None and headers:
data["headers"] = headers

if timeout:
data["timeout"] = timeout

data_str = json.dumps(data)

try:
Expand Down

0 comments on commit 86c2f13

Please sign in to comment.