Turn off memory profiling, saving a couple of megabytes

This commit is contained in:
Deluan 2021-02-01 16:30:06 -05:00
parent 1f3bc4d202
commit 58a52c31c2
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,12 @@
package main
import "github.com/deluan/navidrome/cmd"
import (
"runtime"
"github.com/deluan/navidrome/cmd"
)
func main() {
runtime.MemProfileRate = 0
cmd.Execute()
}