diff options
author | Erik Johnston <erik@matrix.org> | 2018-10-02 15:47:57 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-10-02 15:47:57 +0100 |
commit | 7258d081a5523040dddf5a99ff745acf4fe238bf (patch) | |
tree | 8ea2880ac193466db7c754f5a0599b437cdcaa3b | |
parent | Merge pull request #3960 from matrix-org/rav/fix_missing_create_event_error (diff) | |
download | synapse-7258d081a5523040dddf5a99ff745acf4fe238bf.tar.xz |
Fix bug when invalidating destination retry timings
-rw-r--r-- | synapse/storage/transactions.py | 2 |
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, |