diff options
| author | AAGaming <aagaming@riseup.net> | 2024-08-03 13:39:14 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-08-03 14:04:23 -0400 |
| commit | 8a90605a648f0336090507cf89b66214388ba8cd (patch) | |
| tree | 7339646edcb3c6bc94e670b2c7c038ed0a1752b2 /backend/decky_loader/utilities.py | |
| parent | 9d0dbbb790f56d8034aed6718e390593aeddac68 (diff) | |
| download | decky-loader-8a90605a648f0336090507cf89b66214388ba8cd.tar.gz decky-loader-8a90605a648f0336090507cf89b66214388ba8cd.zip | |
actually implement timeout in the http_request_legacy handler
Diffstat (limited to 'backend/decky_loader/utilities.py')
| -rw-r--r-- | backend/decky_loader/utilities.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/decky_loader/utilities.py b/backend/decky_loader/utilities.py index 599be64a..c88a2f93 100644 --- a/backend/decky_loader/utilities.py +++ b/backend/decky_loader/utilities.py @@ -199,7 +199,7 @@ class Utilities: async def http_request_legacy(self, method: str, url: str, extra_opts: Any = {}, timeout: int | None = None): async with ClientSession() as web: - res = await web.request(method, url, ssl=helpers.get_ssl_context(), **extra_opts) + res = await web.request(method, url, ssl=helpers.get_ssl_context(), timeout=timeout **extra_opts) text = await res.text() return { "status": res.status, |
