Commit 1f410d6
committed
fix: restore safety-net defaults for build config zero values
Restore the safety-net checks that prevent zero values for
MaxConcurrentBuilds and DefaultTimeout from reaching the build manager.
These were removed in f00f60b, but are needed because a user who
explicitly sets build.timeout: 0 or build.max_concurrent_source_builds: 0
in their YAML would get those zero values passed through koanf, bypassing
the defaults. A zero concurrent-builds limit could starve the build queue,
and a zero timeout could expire builds immediately.1 parent f00f60b commit 1f410d6
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
291 | 301 | | |
292 | 302 | | |
293 | 303 | | |
| |||
0 commit comments