From f7f48d57e9260f4e076e47013318714a52527b2f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 15 Apr 2026 15:35:45 +0900 Subject: internal/pkg: pass impure job count This is cleaner than checking cpu count during cure, it is impossible to avoid impurity in both situations but this is configurable. Signed-off-by: Ophestra --- internal/rosa/rosa_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/rosa') diff --git a/internal/rosa/rosa_test.go b/internal/rosa/rosa_test.go index fd92547c..0386aee7 100644 --- a/internal/rosa/rosa_test.go +++ b/internal/rosa/rosa_test.go @@ -60,7 +60,7 @@ func getCache(t *testing.T) *pkg.Cache { msg := message.New(log.New(os.Stderr, "rosa: ", 0)) msg.SwapVerbose(true) - if buildTestCache, err = pkg.Open(ctx, msg, 0, 0, a); err != nil { + if buildTestCache, err = pkg.Open(ctx, msg, 0, 0, 0, a); err != nil { t.Fatal(err) } } -- cgit v1.3.1