fix: adds timeout to kldscpe client
This commit is contained in:
parent
27ce5fc4a8
commit
838425f62e
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ def get_kaleidoscope_mirror(origin: str) -> str | None:
|
|||
"TE": "trailers",
|
||||
}
|
||||
response = requests.post(
|
||||
"https://kldscpe.info/api/v2/resolve", json=payload, headers=headers
|
||||
"https://kldscpe.info/api/v2/resolve", json=payload, headers=headers, timeout=10
|
||||
)
|
||||
if response.status_code == 200:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue