feat(job-array-one-based-index): clamp the apiserver array size limit (task 5.2)
job.max_array_size is resolved by a pure resolveMaxArraySize: unset or 0 gives 1000, 1..32767 is used as is, values above 32767 are clamped to 32767 with a startup warning naming the configured and effective value, and a negative value refuses startup. The old >2147483646 rejection is gone; the shipped config documents the bounds. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b88e352616
commit
7f417262c5
4 changed files with 189 additions and 24 deletions
|
|
@ -68,7 +68,7 @@ file_upload:
|
|||
- "application/javascript" # .js file
|
||||
|
||||
job:
|
||||
max_array_size: 1000 # default max array size for job submission
|
||||
max_array_size: 1000 # max elements per job array (default 1000 if unset or 0, at most 32767; larger values are clamped to 32767 with a startup warning; negative refuses startup)
|
||||
|
||||
cache:
|
||||
refresh_interval: 30 # seconds, available values: 1-300
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue