mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 17:46:04 -04:00
Use cached get_user_by_access_token in slaves
This commit is contained in:
parent
dc3a00f24f
commit
a2427981b7
3 changed files with 3 additions and 2 deletions
|
@ -51,6 +51,6 @@ class BaseSlavedStore(SQLBaseStore):
|
|||
try:
|
||||
getattr(self, cache_func).invalidate(tuple(keys))
|
||||
except AttributeError:
|
||||
logger.warn("Got unexpected cache_func: %r", cache_func)
|
||||
logger.info("Got unexpected cache_func: %r", cache_func)
|
||||
self._cache_id_gen.advance(int(stream["position"]))
|
||||
return defer.succeed(None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue