restore 5 second (instead of default 10) deadline for http.request
This commit is contained in:
parent
94c3ff962b
commit
b7dd78ef1a
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ def _request(request_obj: Request) -> Response:
|
|||
return our_response
|
||||
|
||||
try:
|
||||
response = utils.deadline_process(_wrap)
|
||||
response = utils.deadline_process(_wrap, seconds=5)
|
||||
except utils.DeadlineExceededException:
|
||||
raise HTTPTimeoutException()
|
||||
|
||||
|
|
Loading…
Reference in a new issue