diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-24 12:45:32 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-24 12:45:32 +0000 |
commit | 5541645e80d2907721f17f648717f0b5a2b6f4fe (patch) | |
tree | 5da283bdaaaf1538032dd59d6a109b3f299a6c1b /synapse/handlers | |
parent | Time out filtered room dir queries after 60s (diff) | |
download | synapse-5541645e80d2907721f17f648717f0b5a2b6f4fe.tar.xz |
lint
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/room_list.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py index ea63fb604c..a99b6e1460 100644 --- a/synapse/handlers/room_list.py +++ b/synapse/handlers/room_list.py @@ -80,7 +80,8 @@ class RoomListHandler(BaseHandler): # solution at some point timeout = datetime.now() + timedelta(seconds=60) return self._get_public_room_list( - limit, since_token, search_filter, network_tuple=network_tuple, timeout=timeout, + limit, since_token, search_filter, + network_tuple=network_tuple, timeout=timeout, ) key = (limit, since_token, network_tuple) |