mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 17:02:13 -04:00
Add type hints to response cache. (#8507)
This commit is contained in:
parent
66ac4b1e34
commit
1781bbe319
9 changed files with 48 additions and 34 deletions
|
@ -120,7 +120,7 @@ class RoomCreationHandler(BaseHandler):
|
|||
# subsequent requests
|
||||
self._upgrade_response_cache = ResponseCache(
|
||||
hs, "room_upgrade", timeout_ms=FIVE_MINUTES_IN_MS
|
||||
)
|
||||
) # type: ResponseCache[Tuple[str, str]]
|
||||
self._server_notices_mxid = hs.config.server_notices_mxid
|
||||
|
||||
self.third_party_event_rules = hs.get_third_party_event_rules()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue