mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-26 20:22:22 +00: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):
|
def inc_misses(self, *values):
|
||||||
self.total.inc(*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):
|
def render(self):
|
||||||
return self.hits.render() + self.total.render() + self.size.render()
|
return self.hits.render() + self.total.render() + self.size.render()
|
||||||
|
Loading…
Reference in New Issue
Block a user