Skip to content

Commit 242176a

Browse files
committed
Make typecheck default parallelism 3
Typecheck is still hitting memory limits semi-regularly on periodic CI jobs. This bumps the default parallelism down to 3 from 4 to make it slightly less memory intensive. Signed-off-by: hasheddan <[email protected]>
1 parent ee72e02 commit 242176a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/typecheck/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var (
3939
timings = flag.Bool("time", false, "output times taken for each phase")
4040
defuses = flag.Bool("defuse", false, "output defs/uses")
4141
serial = flag.Bool("serial", false, "don't type check platforms in parallel (equivalent to --parallel=1)")
42-
parallel = flag.Int("parallel", 4, "limits how many platforms can be checked in parallel. 0 means no limit.")
42+
parallel = flag.Int("parallel", 3, "limits how many platforms can be checked in parallel. 0 means no limit.")
4343
skipTest = flag.Bool("skip-test", false, "don't type check test code")
4444
tags = flag.String("tags", "", "comma-separated list of build tags to apply in addition to go's defaults")
4545
ignoreDirs = flag.String("ignore-dirs", "", "comma-separated list of directories to ignore in addition to the default hardcoded list including staging, vendor, and hidden dirs")

0 commit comments

Comments
 (0)