diff options
author | Jonathan de Jong <jonathan@automatia.nl> | 2021-03-08 20:00:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 14:00:07 -0500 |
commit | d6196efafcc312472464c882ab630bc3fbf7bd37 (patch) | |
tree | 661bc8b15d55f2f04776a2ea23e773e1506d6ee7 /synapse/handlers/initial_sync.py | |
parent | Warn that /register will soon require a type when called with an access token... (diff) | |
download | synapse-d6196efafcc312472464c882ab630bc3fbf7bd37.tar.xz |
Add ResponseCache tests. (#9458)
Diffstat (limited to 'synapse/handlers/initial_sync.py')
-rw-r--r-- | synapse/handlers/initial_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/initial_sync.py b/synapse/handlers/initial_sync.py index 71a5076672..13f8152283 100644 --- a/synapse/handlers/initial_sync.py +++ b/synapse/handlers/initial_sync.py @@ -48,7 +48,7 @@ class InitialSyncHandler(BaseHandler): self.clock = hs.get_clock() self.validator = EventValidator() self.snapshot_cache = ResponseCache( - hs, "initial_sync_cache" + hs.get_clock(), "initial_sync_cache" ) # type: ResponseCache[Tuple[str, Optional[StreamToken], Optional[StreamToken], str, Optional[int], bool, bool]] self._event_serializer = hs.get_event_client_serializer() self.storage = hs.get_storage() |