From b14e0346123eec457fb3de218490628faf579d6e Mon Sep 17 00:00:00 2001 From: Dylan Chen Date: Tue, 28 Nov 2023 15:03:28 +0800 Subject: [PATCH] refine local compute context --- src/batch/src/task/context.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/batch/src/task/context.rs b/src/batch/src/task/context.rs index a90cb1cef15b2..541cd0306604c 100644 --- a/src/batch/src/task/context.rs +++ b/src/batch/src/task/context.rs @@ -195,8 +195,7 @@ impl ComputeNodeContext { batch_metrics: None, cur_mem_val: Arc::new(0.into()), last_mem_val: Arc::new(0.into()), - // Leave it for now, it should be None - mem_context: MemoryContext::root(LabelGuardedIntGauge::<4>::test_int_gauge()), + mem_context: MemoryContext::none(), } }