Don't log unknown cache warnings in workers

pull/4/merge
Erik Johnston 8 years ago
parent d638a7484b
commit e933a2712d
  1. 4
      synapse/replication/slave/storage/_base.py

@ -54,7 +54,9 @@ class BaseSlavedStore(SQLBaseStore):
try:
getattr(self, cache_func).invalidate(tuple(keys))
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"]))
return defer.succeed(None)

Loading…
Cancel
Save