Increase default GC frequency

This commit is contained in:
2026-01-28 10:41:44 +01:00
parent 69739ffdfd
commit 98661aad15

View File

@@ -399,7 +399,7 @@ func runServer(ctx context.Context) error {
// Set GC percent if not configured // Set GC percent if not configured
if os.Getenv(envGOGC) == "" { if os.Getenv(envGOGC) == "" {
debug.SetGCPercent(25) debug.SetGCPercent(15)
} }
runtime.SystemdNotify(true, "running") runtime.SystemdNotify(true, "running")