Ver código fonte

chore: fix lint issue (#1694)

Kevin Wan 3 anos atrás
pai
commit
fe262766b4
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      core/prof/runtime.go

+ 1 - 0
core/prof/runtime.go

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