Current Python transport admission: bounded queue + rate limits + hard 429 before client timeout #91
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/llm-log#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Supersedes/reconciles the stale Common Lisp transport implementation work in #70/#74/#75/#76/#77 for the current architecture, where Python owns HTTP/SSE/WebSocket transport.
Required behavior
Client-timeout safety
Keep the default 10s admission deadline below the normal OpenCode/Codex/GPT request timeout envelope. Do not hold a transparent request indefinitely merely because upstream quota is exhausted.
Streaming requests use the same pre-response admission gate. No SSE/body bytes are sent before admission in transparent mode.
Tests
Deterministic monotonic clock tests + aiohttp integration tests for queue/rate/full/deadline/cancel/SSE/no-upstream-contact.