# 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.

