aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-15 15:35:45 +0900
committerOphestra <cat@gensokyo.uk>2026-04-15 15:36:44 +0900
commitf7f48d57e9260f4e076e47013318714a52527b2f (patch)
treed16fa26a0b7843c9ff568d3f86df4219c0eedcab /internal/rosa
parent5c2345128e06c53702b36c7a0920a6b7778f3e61 (diff)
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa')
-rw-r--r--internal/rosa/rosa_test.go2
1 files changed, 1 insertions, 1 deletions
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)
}
}