diff options
author | Erik Johnston <erik@matrix.org> | 2016-03-01 11:00:10 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-03-01 11:00:10 +0000 |
commit | 72165e5b779709ea6724f6dd2081027c0818276b (patch) | |
tree | cd0f1fbec82439b580c1416dcfe266733c83e884 | |
parent | Correct cache miss detection (diff) | |
download | synapse-72165e5b779709ea6724f6dd2081027c0818276b.tar.xz |
Reraise exception
-rw-r--r-- | synapse/util/caches/expiringcache.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/util/caches/expiringcache.py b/synapse/util/caches/expiringcache.py index 55ba1c08c0..e863a8f8a9 100644 --- a/synapse/util/caches/expiringcache.py +++ b/synapse/util/caches/expiringcache.py @@ -81,6 +81,7 @@ class ExpiringCache(object): cache_counter.inc_hits(self._cache_name) except KeyError: cache_counter.inc_misses(self._cache_name) + raise if self._reset_expiry_on_get: entry.time = self._clock.time_msec() |