Increase timeout to run compute HTTP queries. Fixes #2461

This commit is contained in:
grossmj 2024-12-22 22:29:56 +07:00
parent 2c727c6bd2
commit 0090ff3722
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -488,7 +488,7 @@ class Compute:
""" Returns URL for specific path at Compute""" """ Returns URL for specific path at Compute"""
return self._getUrl(path) return self._getUrl(path)
async def _run_http_query(self, method, path, data=None, timeout=20, raw=False): async def _run_http_query(self, method, path, data=None, timeout=120, raw=False):
async with asynctimeout(delay=timeout): async with asynctimeout(delay=timeout):
url = self._getUrl(path) url = self._getUrl(path)
headers = {} headers = {}