We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e45ef89 commit 7e9c707Copy full SHA for 7e9c707
apps/hermes/server/src/api/rest/v2/sse.rs
@@ -78,6 +78,9 @@ fn default_true() -> bool {
78
params(StreamPriceUpdatesQueryParams)
79
)]
80
/// SSE route handler for streaming price updates.
81
+///
82
+/// The connection will automatically close after 24 hours to prevent resource leaks.
83
+/// Clients should implement reconnection logic to maintain continuous price updates.
84
pub async fn price_stream_sse_handler<S>(
85
State(state): State<ApiState<S>>,
86
QsQuery(params): QsQuery<StreamPriceUpdatesQueryParams>,
0 commit comments