Bug fixes

This commit is contained in:
M1ha 2018-12-19 11:57:05 +05:00
parent d0cfd234de
commit 95bf0ab520

View File

@ -18,7 +18,7 @@ def sync_clickhouse_converter(cls): # type: (ClickHouseModel) -> None
:return: None :return: None
""" """
statsd_key = "%s.sync.%s.time" % (config.STATSD_PREFIX, cls.__name__) statsd_key = "%s.sync.%s.time" % (config.STATSD_PREFIX, cls.__name__)
with statsd.timing(statsd_key): with statsd.timer(statsd_key):
cls.sync_batch_from_storage() cls.sync_batch_from_storage()