Skip to content

Commit f3e78cf

Browse files
committed
Lint
1 parent 29f82c0 commit f3e78cf

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

vortex-metrics/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,9 @@ impl VortexMetrics {
8181
/// Create a new metrics registry with additional tags. Metrics created in the
8282
/// child registry will be included in this registry's snapshots.
8383
pub fn child_with_tags(&self, additional_tags: impl Into<DefaultTags>) -> Self {
84-
let child = Self::new_with_tags(self.inner.default_tags.merge(&additional_tags.into()));
8584
// TODO: Temporarily disabled due to memory growth: children accumulate indefinitely
8685
// https://github.com/vortex-data/vortex/discussions/5946
87-
// self.inner.children.write().push(child.clone());
88-
child
86+
Self::new_with_tags(self.inner.default_tags.merge(&additional_tags.into()))
8987
}
9088

9189
/// Returns the counter with the specified ID, creating a default instance if absent.

0 commit comments

Comments
 (0)