fix(api): check serve and service dl defaults at job admission

This commit is contained in:
imSp4rky
2026-11-28 14:32:31 -07:00
parent 5f675bd5ff
commit daa9caa02b
5 changed files with 81 additions and 10 deletions
+3 -1
View File
@@ -105,7 +105,9 @@ dl:
The [`serve`](services.md#serve) block accepts most of the same `dl` option keys at its top level
to set server-wide download defaults for every request it handles. The API ignores the
config keys it does not know there, `speed_limit` for example. `serve` has its own
`global_speed_limit`.
`global_speed_limit`. A `serve` or `services.<TAG>.dl` value that the API refuses in a
request body, `workers: 0` for example, makes each job that uses it fail at submit with
`400 INVALID_PARAMETERS`.
## `continue_downloads`