mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Update AsynchronousMetrics.h
This commit is contained in:
parent
d77f397b38
commit
808713471c
@ -25,7 +25,10 @@ typedef std::unordered_map<std::string, AsynchronousMetricValue> AsynchronousMet
|
||||
class AsynchronousMetrics
|
||||
{
|
||||
public:
|
||||
AsynchronousMetrics(Context & context_, int update_period_seconds)
|
||||
// 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.
|
||||
AsynchronousMetrics(Context & context_, int update_period_seconds = 60)
|
||||
: context(context_),
|
||||
update_period(update_period_seconds),
|
||||
thread([this] { run(); })
|
||||
|
Loading…
Reference in New Issue
Block a user