Merge branch 's3' into api_testing

pull/1598/head
Daniel Van Der Maden 5 years ago
commit 9137c3be5f
  1. 3
      internal/profiler/profiler.go

@ -3,6 +3,7 @@ package profiler
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
"sync"
@ -48,7 +49,7 @@ func (profiler *Profiler) LogMemory() {
memMap, _ := profiler.proc.MemoryMaps(false)
loggedMemMap := ""
for _, mems := range *memMap {
loggedMemMap += mems.String() + "; "
loggedMemMap = fmt.Sprintf("%v; %v", loggedMemMap, mems)
}
utils.Logger().Info().
Str("info", info.String()).

Loading…
Cancel
Save