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
|
return our_response
|
||||||
|
|
||||||
try:
|
try:
|
||||||
response = utils.deadline_process(_wrap)
|
response = utils.deadline_process(_wrap, seconds=5)
|
||||||
except utils.DeadlineExceededException:
|
except utils.DeadlineExceededException:
|
||||||
raise HTTPTimeoutException()
|
raise HTTPTimeoutException()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue