mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Subsystem metrics reset_values should remove all redis keys
This commit is contained in:
parent
7cbe112e4e
commit
c92619a2dc
@ -213,6 +213,8 @@ class Metrics:
|
||||
m.reset_value(self.conn)
|
||||
self.metrics_have_changed = True
|
||||
self.conn.delete(root_key + "_lock")
|
||||
for m in self.conn.scan_iter(root_key + '_instance_*'):
|
||||
self.conn.delete(m)
|
||||
|
||||
def inc(self, field, value):
|
||||
if value != 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user