Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/HTTP_TIMEOUTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# HTTP Timeouts

This note documents recommended timeout defaults for clients calling CLOB endpoints.

## Recommended defaults

- Connect timeout: 3s
- Read timeout: 10s
- Total request timeout (if supported): 15s

## Rationale

- Keeps UI responsive on bad networks.
- Prevents long-hanging requests from piling up.
- Encourages explicit retries with backoff.

## Retry guidance

- Retry only idempotent requests.
- Use exponential backoff with jitter.
- Cap retries (e.g., 3 attempts).