Browse Source

chore: fix lint issue (#1694)

Kevin Wan 3 years ago
parent
commit
fe262766b4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/prof/runtime.go

+ 1 - 0
core/prof/runtime.go

@@ -11,6 +11,7 @@ const (
 	mega            = 1024 * 1024
 	mega            = 1024 * 1024
 )
 )
 
 
+// DisplayStats prints the goroutine, memory, GC stats with given interval, default to 5 seconds.
 func DisplayStats(interval ...time.Duration) {
 func DisplayStats(interval ...time.Duration) {
 	duration := defaultInterval
 	duration := defaultInterval
 	for _, val := range interval {
 	for _, val := range interval {