Go 1.26 and golangci-lint updates (#2146)

Keep Go 1.24 compatibility for now (by not using `wg.Go()`).
This commit is contained in:
Erik Dubbelboer
2026-02-21 10:28:39 +01:00
committed by GitHub
parent 80e3281747
commit c2b317d47d
44 changed files with 240 additions and 271 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func NewFunc(f func(ctx any)) func(ctx any) bool {
funcWorkCh := make(chan *funcWork, runtime.GOMAXPROCS(-1)*2048)
onceInit := func() {
n := runtime.GOMAXPROCS(-1)
for i := 0; i < n; i++ {
for range n {
go funcWorker(funcWorkCh, f)
}
}