summary refs log tree commit diff
path: root/synapse/metrics/metric.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-17 13:36:07 +0100
committerErik Johnston <erik@matrix.org>2015-08-17 13:36:07 +0100
commit4d8e1e1f9e6fb143aa1317f31e561ef7629bfbf2 (patch)
tree6a89e3ed0b17636e4758122af16e1964aae0bb44 /synapse/metrics/metric.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/receipts_t... (diff)
downloadsynapse-4d8e1e1f9e6fb143aa1317f31e561ef7629bfbf2.tar.xz
Remove added unused methods
Diffstat (limited to '')
-rw-r--r--synapse/metrics/metric.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/synapse/metrics/metric.py b/synapse/metrics/metric.py
index 5b1e9c3ddc..21b37748f6 100644
--- a/synapse/metrics/metric.py
+++ b/synapse/metrics/metric.py
@@ -151,12 +151,5 @@ class CacheMetric(object):
     def inc_misses(self, *values):
         self.total.inc(*values)
 
-    def inc_hits_by(self, inc, *values):
-        self.hits.inc_by(inc, *values)
-        self.total.inc_by(inc, *values)
-
-    def inc_misses_by(self, inc, *values):
-        self.total.inc_by(inc, *values)
-
     def render(self):
         return self.hits.render() + self.total.render() + self.size.render()