From a99c14da4a79ce91b173c84be35b194fb145c357 Mon Sep 17 00:00:00 2001 From: Eric <81024796+chowyu12@users.noreply.github.com> Date: Thu, 12 Jun 2025 16:28:44 +0800 Subject: [PATCH] fix: typo of the logic of CpuThreshold in comments (#4942) Co-authored-by: zhouyy --- internal/profiling/profiling.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/profiling/profiling.go b/internal/profiling/profiling.go index dc402eb4b..d79f0b4fc 100644 --- a/internal/profiling/profiling.go +++ b/internal/profiling/profiling.go @@ -34,7 +34,7 @@ type ( CheckInterval time.Duration `json:",default=10s"` // ProfilingDuration is the duration for which profiling data is collected. ProfilingDuration time.Duration `json:",default=2m"` - // CpuThreshold the collection is allowed only when the current service cpu < CpuThreshold + // CpuThreshold the collection is allowed only when the current service cpu > CpuThreshold CpuThreshold int64 `json:",default=700,range=[0:1000)"` // ProfileType is the type of profiling to be performed.