diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-04 18:16:54 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-12 16:24:50 +0000 |
commit | e1a7e3564fa1e20b52c7294a8b0f28e5ecbaf672 (patch) | |
tree | ee5e1deea63c405f2bffb02cd3ac7b33bac993cf | |
parent | Put vector gauges on transaction queue pending PDU and EDU dicts (diff) | |
download | synapse-e1a7e3564fa1e20b52c7294a8b0f28e5ecbaf672.tar.xz |
Delete a couple of TODO markers of monitoring stats now done
-rw-r--r-- | synapse/storage/_base.py | 1 | ||||
-rw-r--r-- | synapse/util/lrucache.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index d3c2bc7bfb..d6cf88c350 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -40,7 +40,6 @@ transaction_logger = logging.getLogger("synapse.storage.txn") # TODO(paul): # * more generic key management -# * export monitoring stats # * consider other eviction strategies - LRU? def cached(max_entries=1000): """ A method decorator that applies a memoizing cache around the function. diff --git a/synapse/util/lrucache.py b/synapse/util/lrucache.py index f115f50e50..65d5792907 100644 --- a/synapse/util/lrucache.py +++ b/synapse/util/lrucache.py @@ -16,7 +16,6 @@ class LruCache(object): """Least-recently-used cache.""" - # TODO(mjark) Add hit/miss counters # TODO(mjark) Add mutex for linked list for thread safety. def __init__(self, max_size): cache = {} |