Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
a2aaa9cb
Unverified
Commit
a2aaa9cb
authored
6 years ago
by
Richard van der Hoff
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #3178 from matrix-org/rav/fix_request_timeouts
fix http request timeout code
parents
d72faf2f
1dfd6503
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/http/__init__.py
+1
-1
1 addition, 1 deletion
synapse/http/__init__.py
with
1 addition
and
1 deletion
synapse/http/__init__.py
+
1
−
1
View file @
a2aaa9cb
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment