every.channel: sanitized baseline

This commit is contained in:
every.channel 2026-02-15 16:17:27 -05:00
commit 897e556bea
No known key found for this signature in database
258 changed files with 74298 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# ECP-0055: Directory HTTP Timeouts For Direct-Publish
Status: Draft
## Problem
`ec-node direct-publish` keeps directory listings alive by periodically POSTing to `/api/announce`.
If a single refresh POST hangs indefinitely (no client timeout), the refresh loop can stall and the
listing expires, making streams undiscoverable.
## Proposal
- Build a `reqwest::Client` with a small default timeout (e.g. 8s) for directory operations.
- Wrap periodic refresh POSTs in an additional short `tokio::time::timeout` guard.
This keeps directory liveness resilient under intermittent connectivity.