summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-01-24 12:45:32 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-01-24 12:45:32 +0000
commit5541645e80d2907721f17f648717f0b5a2b6f4fe (patch)
tree5da283bdaaaf1538032dd59d6a109b3f299a6c1b
parentTime out filtered room dir queries after 60s (diff)
downloadsynapse-5541645e80d2907721f17f648717f0b5a2b6f4fe.tar.xz
lint
-rw-r--r--synapse/handlers/room_list.py3
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)