Commit 746ffc2
Clarify build_jobs slot handling
Name the per-gem slot cap MAX_JOBS_PER_GEM with a comment explaining the
limit, rename the local to acquired_jobs since it counts grabbed tokens
rather than free ones, and rescue EOFError alongside IO::WaitReadable so a
closed jobserver pipe falls back to a single job instead of raising.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3f67452 commit 746ffc2
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
127 | | - | |
128 | | - | |
| 132 | + | |
| 133 | + | |
129 | 134 | | |
130 | | - | |
131 | | - | |
| 135 | + | |
| 136 | + | |
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
| |||
0 commit comments