Skip to content

Commit acd4139

Browse files
Jerry XieJerry Xie
authored andcommitted
perf: increase parallel install workers from 1 to 4
Increases maxWorkers from 1 to 4 for parallel CLI package installation. This aligns with the project convention (max 4 workers for brew) and significantly speeds up installation when multiple packages are queued. Casks remain sequential due to potential password prompts for .pkg installers.
1 parent 1578184 commit acd4139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/brew/brew.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"github.com/openbootdotdev/openboot/internal/ui"
1717
)
1818

19-
const maxWorkers = 1
19+
const maxWorkers = 4
2020

2121
type OutdatedPackage struct {
2222
Name string

0 commit comments

Comments
 (0)