Enable memory profiling

This commit is contained in:
Deluan 2023-03-15 12:43:25 -04:00
parent 1f6ec1d9f5
commit 63fbccf5a9
1 changed files with 1 additions and 2 deletions

View File

@ -1,12 +1,11 @@
package main package main
import ( import (
"runtime" _ "net/http/pprof"
"github.com/navidrome/navidrome/cmd" "github.com/navidrome/navidrome/cmd"
) )
func main() { func main() {
runtime.MemProfileRate = 0
cmd.Execute() cmd.Execute()
} }