mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Update AsynchronousMetrics.h
This commit is contained in:
parent
8501c7a831
commit
f578f83380
@ -26,6 +26,7 @@ using AsynchronousMetricValues = std::unordered_map<std::string, AsynchronousMet
|
||||
class AsynchronousMetrics
|
||||
{
|
||||
public:
|
||||
#if defined(ARCADIA_BUILD)
|
||||
/// This constructor needs only to provide backward compatibility with some other projects (hello, Arcadia).
|
||||
/// Never use this in the ClickHouse codebase.
|
||||
AsynchronousMetrics(
|
||||
@ -35,6 +36,8 @@ public:
|
||||
, update_period(update_period_seconds)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/// The default value of update_period_seconds is for ClickHouse-over-YT
|
||||
/// in Arcadia -- it uses its own server implementation that also uses these
|
||||
/// metrics.
|
||||
|
Loading…
Reference in New Issue
Block a user