diff options
author | Erik Johnston <erik@matrix.org> | 2018-07-13 15:26:10 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-07-13 15:26:10 +0100 |
commit | 77b692e65dfe5da79e9f69f4a24bde1c768a998c (patch) | |
tree | 4cc0d7b1db60fbdbab3054df85636e5f8728d730 /synapse/util/caches | |
parent | typo (diff) | |
download | synapse-77b692e65dfe5da79e9f69f4a24bde1c768a998c.tar.xz |
Don't return unknown entities in get_entities_changed
The stream cache keeps track of all entities that have changed since a particular stream position, so get_entities_changed does not need to return unknown entites when given a larger stream position. This makes it consistent with the behaviour of has_entity_changed.
Diffstat (limited to 'synapse/util/caches')
-rw-r--r-- | synapse/util/caches/stream_change_cache.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/synapse/util/caches/stream_change_cache.py b/synapse/util/caches/stream_change_cache.py |