mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Cosmetics
This commit is contained in:
parent
e23e7e6b73
commit
9752079983
@ -272,7 +272,7 @@ void AsynchronousMetrics::start()
|
|||||||
{
|
{
|
||||||
/// Update once right now, to make metrics available just after server start
|
/// Update once right now, to make metrics available just after server start
|
||||||
/// (without waiting for asynchronous_metrics_update_period_s).
|
/// (without waiting for asynchronous_metrics_update_period_s).
|
||||||
update(std::chrono::system_clock::now(), false);
|
update(std::chrono::system_clock::now());
|
||||||
thread = std::make_unique<ThreadFromGlobalPool>([this] { run(); });
|
thread = std::make_unique<ThreadFromGlobalPool>([this] { run(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
|
|||||||
CONFIG_DIR = os.path.join(SCRIPT_DIR, "configs")
|
CONFIG_DIR = os.path.join(SCRIPT_DIR, "configs")
|
||||||
|
|
||||||
|
|
||||||
def test_query_cache_size_is_runtime_configurable(start_cluster):
|
def test_system_reload_async_metrics(start_cluster):
|
||||||
node.query("SYSTEM DROP QUERY CACHE")
|
node.query("SYSTEM DROP QUERY CACHE")
|
||||||
|
|
||||||
res1 = node.query(
|
res1 = node.query(
|
||||||
|
Loading…
Reference in New Issue
Block a user