diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-24 15:10:22 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-24 15:10:22 +0000 |
commit | 075ff3ede9aac0bc31d638b45c63007d664d9eee (patch) | |
tree | 149d90a18029f160689e3f9c73d5449067744e3d /synapse/handlers | |
parent | Use self.clock instead of datetime (diff) | |
download | synapse-075ff3ede9aac0bc31d638b45c63007d664d9eee.tar.xz |
Change default timeout value from 0 to None
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/room_list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py index 2af520819e..13e212d669 100644 --- a/synapse/handlers/room_list.py +++ b/synapse/handlers/room_list.py @@ -94,7 +94,7 @@ class RoomListHandler(BaseHandler): def _get_public_room_list(self, limit=None, since_token=None, search_filter=None, network_tuple=EMPTY_THIRD_PARTY_ID, - timeout=0,): + timeout=None,): if since_token and since_token != "END": since_token = RoomListNextBatch.from_token(since_token) else: |