Commit 5ea6c07
[flow] Add server.max_workers.full_check flowconfig option
Summary:
We'll probably want to have lazy servers start with a smaller number of workers, but keep full checks at a higher number.
This diff adds a new flowconfig option that overrides the worker count specifically for non-lazy mode (full checks).
In lazy mode, the regular server.max_workers (or system default) is used instead.
Priority order: CLI --max-workers > server.max_workers.full_check (non-lazy only) > server.max_workers > system default.
Reviewed By: SamChou19815
Differential Revision: D95162909
fbshipit-source-id: dfe220f960a880a376796e1314d8fbf017a0d1201 parent 41b0a28 commit 5ea6c07
File tree
3 files changed
+24
-3
lines changed- src/commands
- config
3 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1544 | 1544 | | |
1545 | 1545 | | |
1546 | 1546 | | |
1547 | | - | |
1548 | | - | |
1549 | | - | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
1550 | 1562 | | |
1551 | 1563 | | |
1552 | 1564 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
| 269 | + | |
268 | 270 | | |
269 | 271 | | |
270 | 272 | | |
| |||
1271 | 1273 | | |
1272 | 1274 | | |
1273 | 1275 | | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
1274 | 1279 | | |
1275 | 1280 | | |
1276 | 1281 | | |
| |||
2033 | 2038 | | |
2034 | 2039 | | |
2035 | 2040 | | |
| 2041 | + | |
| 2042 | + | |
2036 | 2043 | | |
2037 | 2044 | | |
2038 | 2045 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
| |||
0 commit comments