mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-01-28 15:01:46 +01:00
Increase default GC frequency
This commit is contained in:
@@ -399,7 +399,7 @@ func runServer(ctx context.Context) error {
|
||||
|
||||
// Set GC percent if not configured
|
||||
if os.Getenv(envGOGC) == "" {
|
||||
debug.SetGCPercent(25)
|
||||
debug.SetGCPercent(15)
|
||||
}
|
||||
runtime.SystemdNotify(true, "running")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user