feat: limit accepted attachment work and add queue overload bench
Reject uploads with 429 at [uploads] max_unfinished_jobs, counted by the existing partial indexes in the membership block. Add the bench_queue profile, hypotheses H1-H9 and the fifth failure-stand API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -93,6 +93,10 @@ max_waiting = 16
|
||||
wait_timeout_seconds = 5
|
||||
# секунды на всё тело с момента, как загрузка заняла место; иначе 400
|
||||
body_timeout_seconds = 30
|
||||
# незавершённых заданий стенда (queued и processing), при которых загрузка
|
||||
# сразу получает 429 rate_limited с Retry-After: 5; 0 — без предела. Срок
|
||||
# ожидания = предел / потолок worker; при другом числе worker предел другой
|
||||
max_unfinished_jobs = 250
|
||||
|
||||
[cleaner]
|
||||
# Уборщик незавершённых загрузок (сервис compose cleaner); реплики API
|
||||
|
||||
Reference in New Issue
Block a user