Skip to content

Commit

Permalink
Merge pull request #59109 from rschu1ze/follow-up-to-system-reload-as…
Browse files Browse the repository at this point in the history
…ync-metrics

Minor follow-up to #53710
  • Loading branch information
rschu1ze committed Jan 23, 2024
2 parents e23e7e6 + 9752079 commit f7a314e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Common/AsynchronousMetrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ void AsynchronousMetrics::start()
{
/// Update once right now, to make metrics available just after server start
/// (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(); });
}

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_system_reload_async_metrics/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def start_cluster():
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")

res1 = node.query(
Expand Down

0 comments on commit f7a314e

Please sign in to comment.