From 3546e7fc63e95b1ed572b12151105f281f32fb28 Mon Sep 17 00:00:00 2001 From: PSeitz Date: Mon, 12 Jun 2023 09:55:24 +0800 Subject: [PATCH] small agg limit docs improvement (#2073) small docs improvement as follow up on bug https://github.com/quickwit-oss/quickwit/issues/3503 --- src/aggregation/agg_limits.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aggregation/agg_limits.rs b/src/aggregation/agg_limits.rs index df93a9c13d..4356ecabdd 100644 --- a/src/aggregation/agg_limits.rs +++ b/src/aggregation/agg_limits.rs @@ -60,6 +60,8 @@ impl AggregationLimits { /// *bucket_limit* /// Limits the maximum number of buckets returned from an aggregation request. /// bucket_limit will default to `DEFAULT_BUCKET_LIMIT` (65000) + /// + /// Note: The returned instance contains a Arc shared counter to track memory consumption. pub fn new(memory_limit: Option, bucket_limit: Option) -> Self { Self { memory_consumption: Default::default(),