Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3178 from matrix-org/rav/fix_request_timeouts
Browse files Browse the repository at this point in the history
fix http request timeout code
  • Loading branch information
richvdh authored May 3, 2018
2 parents d72faf2 + 1dfd650 commit a2aaa9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/http/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self):
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
Expand Down

0 comments on commit a2aaa9c

Please sign in to comment.