Skip to content
Snippets Groups Projects
Commit 939462d0 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Fix timeout getting value from database

parent 3929de17
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ class ProxyHandler(RequestHandler):
timeout=15
)
resp = ProxyResponse.from_stored(status, reason, headers, body)
except TimeoutError:
except asyncio.TimeoutError:
# Still pending - the process fetching it may have crashed.
resp = await self._get_upstream(req_path)
self._record_response(req_path, resp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment