Enable memory profiling

This commit is contained in:
Deluan 2023-03-15 12:43:25 -04:00 committed by Joe Stump
parent b9115b85e2
commit caf433abcd
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

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