diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-06-26 17:29:01 +0100 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2018-06-26 17:29:01 +0100 |
commit | 1202508067d392cbc71e1c9e0b4d9eca3494143a (patch) | |
tree | 301bc01b521ad36bf83b2524d7047b4219c5dde7 /synapse/util/caches | |
parent | fixes (diff) | |
download | synapse-1202508067d392cbc71e1c9e0b4d9eca3494143a.tar.xz |
fixes
Diffstat (limited to 'synapse/util/caches')
-rw-r--r-- | synapse/util/caches/stream_change_cache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/util/caches/stream_change_cache.py b/synapse/util/caches/stream_change_cache.py index b19feb3b11..0fb8620001 100644 --- a/synapse/util/caches/stream_change_cache.py +++ b/synapse/util/caches/stream_change_cache.py @@ -114,8 +114,8 @@ class StreamChangeCache(object): assert type(stream_pos) is int if stream_pos >= self._earliest_known_stream_pos: - return {self._cache[k] for k in self._cache.islice( - start=self._cache.bisect_right(stream_pos))} + return [self._cache[k] for k in self._cache.islice( + start=self._cache.bisect_right(stream_pos))] else: return None |