diff options
author | Erik Johnston <erik@matrix.org> | 2017-02-28 16:22:41 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-02-28 16:22:41 +0000 |
commit | e933a2712d3987dac5a209a3a49a2a0664f62213 (patch) | |
tree | 70914bd704dd1aed6973b00571257ce99103904c /synapse/replication | |
parent | Merge pull request #1959 from matrix-org/erikj/intern_once (diff) | |
download | synapse-e933a2712d3987dac5a209a3a49a2a0664f62213.tar.xz |
Don't log unknown cache warnings in workers
Diffstat (limited to 'synapse/replication')
-rw-r--r-- | synapse/replication/slave/storage/_base.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/_base.py b/synapse/replication/slave/storage/_base.py index 18076e0f3b..ab133db872 100644 --- a/synapse/replication/slave/storage/_base.py +++ b/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) |