every.channel: sanitized baseline
This commit is contained in:
commit
897e556bea
258 changed files with 74298 additions and 0 deletions
17
evolution/proposals/ECP-0055-directory-timeouts.md
Normal file
17
evolution/proposals/ECP-0055-directory-timeouts.md
Normal 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.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue