From 95f09e312d4354b65905edc3073f9eba34528be4 Mon Sep 17 00:00:00 2001 From: Daniel Chew Date: Thu, 24 Apr 2025 20:41:06 +0900 Subject: [PATCH] Add note on automatic connection closure for price stream updates --- pages/price-feeds/fetch-price-updates.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/price-feeds/fetch-price-updates.mdx b/pages/price-feeds/fetch-price-updates.mdx index 5d758388..8635ae92 100644 --- a/pages/price-feeds/fetch-price-updates.mdx +++ b/pages/price-feeds/fetch-price-updates.mdx @@ -94,6 +94,8 @@ Hermes offers several other endpoints for retrieving price updates. For more inf Hermes also provides a Server-Sent Events (SSE) endpoint to stream price updates. The `/v2/updates/price/stream` endpoint continuously streams price updates for the requested feeds to the caller. +The connection will automatically close after 24 hours to prevent resource leaks. Clients should implement reconnection logic to maintain continuous price updates. + For example, to stream price updates for BTC/USD, run: ```bash copy