forked from MirrorHub/synapse
Remove added unused methods
This commit is contained in:
parent
afef6f5d16
commit
4d8e1e1f9e
1 changed files with 0 additions and 7 deletions
|
@ -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 a new issue