summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-10-02 15:47:57 +0100
committerErik Johnston <erik@matrix.org>2018-10-02 15:47:57 +0100
commit7258d081a5523040dddf5a99ff745acf4fe238bf (patch)
tree8ea2880ac193466db7c754f5a0599b437cdcaa3b /synapse/storage
parentMerge pull request #3960 from matrix-org/rav/fix_missing_create_event_error (diff)
downloadsynapse-7258d081a5523040dddf5a99ff745acf4fe238bf.tar.xz
Fix bug when invalidating destination retry timings
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/transactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py
index ab54977a75..a3032cdce9 100644
--- a/synapse/storage/transactions.py
+++ b/synapse/storage/transactions.py
@@ -216,7 +216,7 @@ class TransactionStore(SQLBaseStore):
             retry_interval (int) - how long until next retry in ms
         """
 
-        self._destination_retry_cache.pop(destination)
+        self._destination_retry_cache.pop(destination, None)
         return self.runInteraction(
             "set_destination_retry_timings",
             self._set_destination_retry_timings,