Comment
parent
738ccf61c0
commit
fc6d4974a6
|
@ -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 New Issue