mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 12:30:06 +00:00
Comment
This commit is contained in:
parent
738ccf61c0
commit
fc6d4974a6
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ class DeviceStore(SQLBaseStore):
|
||||||
def __init__(self, hs):
|
def __init__(self, hs):
|
||||||
super(DeviceStore, self).__init__(hs)
|
super(DeviceStore, self).__init__(hs)
|
||||||
|
|
||||||
|
# Map of (user_id, device_id) -> bool. If there is an entry that implies
|
||||||
|
# the device exists.
|
||||||
self.device_id_exists_cache = Cache(
|
self.device_id_exists_cache = Cache(
|
||||||
name="device_id_exists",
|
name="device_id_exists",
|
||||||
keylen=2,
|
keylen=2,
|
||||||
|
|
Loading…
Reference in a new issue