Skip to content

Commit 165067e

Browse files
authored
Add note on automatic connection closure for price stream updates (#680)
1 parent df21345 commit 165067e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pages/price-feeds/fetch-price-updates.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ Hermes offers several other endpoints for retrieving price updates. For more inf
9494
Hermes also provides a Server-Sent Events (SSE) endpoint to stream price updates.
9595
The `/v2/updates/price/stream` endpoint continuously streams price updates for the requested feeds to the caller.
9696

97+
The connection will automatically close after 24 hours to prevent resource leaks. Clients should implement reconnection logic to maintain continuous price updates.
98+
9799
For example, to stream price updates for BTC/USD, run:
98100

99101
```bash copy

0 commit comments

Comments
 (0)