mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 18:53:53 +01:00
Don't log unknown cache warnings in workers
This commit is contained in:
parent
d638a7484b
commit
e933a2712d
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ class BaseSlavedStore(SQLBaseStore):
|
||||||
try:
|
try:
|
||||||
getattr(self, cache_func).invalidate(tuple(keys))
|
getattr(self, cache_func).invalidate(tuple(keys))
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
logger.info("Got unexpected cache_func: %r", cache_func)
|
# We probably haven't pulled in the cache in this worker,
|
||||||
|
# which is fine.
|
||||||
|
pass
|
||||||
self._cache_id_gen.advance(int(stream["position"]))
|
self._cache_id_gen.advance(int(stream["position"]))
|
||||||
return defer.succeed(None)
|
return defer.succeed(None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue