feat: implement per-account inflight request limits and dynamic recommended concurrency calculation.
This commit is contained in:
1 parent
c7ffcd76e6
commit
6a6f380987
9 files changed
+323
-58
No files matched your search
@@ -460,10 +460,17 @@ Response:
|
||||
"in_use": 1,
|
||||
"total": 4,
|
||||
"available_accounts": ["a@example.com"],
|
||||
"in_use_accounts": ["b@example.com"]
|
||||
"in_use_accounts": ["b@example.com"],
|
||||
"max_inflight_per_account": 2,
|
||||
"recommended_concurrency": 8
|
||||
}
|
||||
```
|
||||
|
||||
Field notes:
|
||||
|
||||
- `max_inflight_per_account`: per-account in-flight limit (default `2`, override via env)
|
||||
- `recommended_concurrency`: suggested client concurrency, dynamically computed as `account_count * max_inflight_per_account`
|
||||
|
||||
### `POST /admin/accounts/test`
|
||||
|
||||
Request fields:
|
||||
|
||||
Reference in new issue
Block a user