Cosmetics

This commit is contained in:
Robert Schulze 2024-01-23 10:33:03 +00:00
parent e23e7e6b73
commit 9752079983
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 2 additions and 2 deletions

View File

@ -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(); });
} }

View File

@ -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(