From fb1b99b8ab4537489e779b6ae80044fcd1a4a374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dario=20Casta=C3=B1=C3=A9?= Date: Tue, 18 Aug 2026 22:55:23 +0200 Subject: [PATCH] chore(cmd/zas): remove no-op GOMAXPROCS call runtime.GOMAXPROCS(runtime.NumCPU()) has been the runtime default since Go 1.5 (2015); calling it explicitly with the CPU count changes nothing. Drops the now-unused "runtime" import along with it. --- cmd/zas/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/zas/main.go b/cmd/zas/main.go index 419f657..58d0f4b 100644 --- a/cmd/zas/main.go +++ b/cmd/zas/main.go @@ -24,7 +24,6 @@ import ( "io" "os" "os/exec" - "runtime" "runtime/debug" "strings" @@ -80,7 +79,6 @@ func init() { } func main() { - runtime.GOMAXPROCS(runtime.NumCPU()) os.Exit(run(os.Args[1:])) } -- 2.51.2