diff options
author | Travis Ralston <travpc@gmail.com> | 2018-11-07 17:09:02 -0700 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2018-11-07 17:09:02 -0700 |
commit | a8452b8fb4a437861beb0080a7237c153fbe2f79 (patch) | |
tree | e9444b1f98bcb6d30344c976505d2d541b74b3fe /synapse | |
parent | Port hash_password to Python 3 (#4161) (diff) | |
download | synapse-a8452b8fb4a437861beb0080a7237c153fbe2f79.tar.xz |
Cause timeout errors on joins
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/client/v1/room.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py index fcfe7857f6..bcbd451101 100644 --- a/synapse/rest/client/v1/room.py +++ b/synapse/rest/client/v1/room.py @@ -16,6 +16,7 @@ """ This module contains REST servlets to do with rooms: /rooms/<paths> """ import logging +import time from six.moves.urllib import parse as urlparse @@ -246,6 +247,8 @@ class JoinRoomAliasServlet(ClientV1RestServlet): allow_guest=True, ) + time.sleep(80) + try: content = parse_json_object_from_request(request) except Exception: |