mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
fix: ci lint failed
This commit is contained in:
parent
86e182acba
commit
5671ba0403
1 changed files with 3 additions and 3 deletions
|
|
@ -27,9 +27,9 @@ func CaptureDebugGCStats(r Registry, d time.Duration) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// CaptureDebugGCStatsOnce captures new values for the Go garbage collector
|
// CaptureDebugGCStatsOnce captures new values for the Go garbage collector
|
||||||
// statistics exported in debug.GCStats. This is designed to be called in
|
// statistics exported in debug.GCStats. This is designed to be called in
|
||||||
// a background goroutine. Giving a registry which has not been given to
|
// a background goroutine. Giving a registry which has not been given to
|
||||||
// RegisterDebugGCStats will panic.
|
// RegisterDebugGCStats will panic.
|
||||||
//
|
//
|
||||||
// Be careful (but much less so) with this because debug.ReadGCStats calls
|
// Be careful (but much less so) with this because debug.ReadGCStats calls
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue