Skip to content

Commit a99c14d

Browse files
chowyu12zhouyy
andauthored
fix: typo of the logic of CpuThreshold in comments (#4942)
Co-authored-by: zhouyy <[email protected]>
1 parent 9855822 commit a99c14d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/profiling/profiling.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type (
3434
CheckInterval time.Duration `json:",default=10s"`
3535
// ProfilingDuration is the duration for which profiling data is collected.
3636
ProfilingDuration time.Duration `json:",default=2m"`
37-
// CpuThreshold the collection is allowed only when the current service cpu < CpuThreshold
37+
// CpuThreshold the collection is allowed only when the current service cpu > CpuThreshold
3838
CpuThreshold int64 `json:",default=700,range=[0:1000)"`
3939

4040
// ProfileType is the type of profiling to be performed.

0 commit comments

Comments
 (0)