mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Removing ttl from munin.
This commit is contained in:
parent
dc1b722cf3
commit
26124dfed3
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class NBMuninGraph(MuninGraph):
|
|||
def stats(self):
|
||||
r = redis.Redis(self.host)
|
||||
info = r.info()
|
||||
dbs = dict([(k, v) for k, v in info.items() if k.startswith('db') and not k.endswith('ttl')])
|
||||
dbs = dict([(k, v) for k, v in info.items() if k.startswith('db') and not 'ttl' in k])
|
||||
sizes = {}
|
||||
for db, values in dbs.items():
|
||||
for key, value in values.items():
|
||||
|
|
Loading…
Add table
Reference in a new issue