summary refs log tree commit diff
path: root/synapse/util/caches
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-06 15:44:22 +0100
committerErik Johnston <erik@matrix.org>2016-04-07 14:19:02 +0100
commitaf03ecf35223f93971596f38393c62f4694705fa (patch)
treec1bbe31639ac5ae3cfee6b21182faf033fc6b9e4 /synapse/util/caches
parentMerge pull request #699 from matrix-org/rav/show_own_leave_event (diff)
downloadsynapse-af03ecf35223f93971596f38393c62f4694705fa.tar.xz
Deduplicate joins
Diffstat (limited to 'synapse/util/caches')
-rw-r--r--synapse/util/caches/response_cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/caches/response_cache.py b/synapse/util/caches/response_cache.py
index be310ba320..36686b479e 100644
--- a/synapse/util/caches/response_cache.py
+++ b/synapse/util/caches/response_cache.py
@@ -35,7 +35,7 @@ class ResponseCache(object):
             return None
 
     def set(self, key, deferred):
-        result = ObservableDeferred(deferred)
+        result = ObservableDeferred(deferred, consumeErrors=True)
         self.pending_result_cache[key] = result
 
         def remove(r):