mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Remove added unused methods
This commit is contained in:
parent
afef6f5d16
commit
4d8e1e1f9e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user