Commit 04c3b598 authored by John Gerlock's avatar John Gerlock

Update timeout method

parent a6126e44
......@@ -31,7 +31,7 @@ async def handle_jsonrpc(http_request: HTTPRequest) -> HTTPResponse:
http_request.timings.append((perf(), 'handle_jsonrpc.enter'))
# make upstream requests
async with timeout(http_request.jsonrpc.upstream.timeout):
async with timeout(http_request.request_timeout):
if http_request.is_single_jrpc:
jsonrpc_response = await dispatch_single(http_request,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment