Skip to content
Snippets Groups Projects
Unverified Commit a2aaa9cb authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Merge pull request #3178 from matrix-org/rav/fix_request_timeouts

fix http request timeout code
parents d72faf2f 1dfd6503
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ class RequestTimedOutError(SynapseError):
super(RequestTimedOutError, self).__init__(504, "Timed out")
def cancelled_to_request_timed_out_error(value):
def cancelled_to_request_timed_out_error(value, timeout):
"""Turns CancelledErrors into RequestTimedOutErrors.
For use with async.add_timeout_to_deferred
......
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