Fix in counter

This commit is contained in:
M1ha 2019-01-18 18:26:28 +05:00
parent d8dccf209d
commit 59f92d5b6e

View File

@ -64,7 +64,7 @@ class Storage:
:return: None
"""
key = "%s.sync.%s.queue" % (config.STATSD_PREFIX, import_key)
statsd.gauge(key, self.operations_count(import_key), delta=True)
statsd.gauge(key, self.operations_count(import_key))
def operations_count(self, import_key, **kwargs):
# type: (str, **dict) -> int