Skip to content

🎧 Your Personal Streaming Service

Turn off memory profiling, saving a couple of megabytes

Deluan58a52c31c236
diff --git a/main.go b/main.go
index 00fb56274..2b2aedd2e 100644
--- a/main.go
+++ b/main.go
@@ -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()
}