mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-22 09:06:43 +03:00
Bug fixes
This commit is contained in:
parent
d0cfd234de
commit
95bf0ab520
|
@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user