diff options
| -rw-r--r-- | src/broadcast.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/broadcast.rs b/src/broadcast.rs index 174016e..41a5e23 100644 --- a/src/broadcast.rs +++ b/src/broadcast.rs @@ -58,10 +58,9 @@ where #[allow(clippy::manual_ok_err)] future::ready(match r { Ok(event) => Some(event), - // Stop the stream here. This will disconnect SSE clients - // (see `routes.rs`), who will then resume from - // `Last-Event-ID`, allowing them to catch up by reading - // the skipped messages from the database. + // Stop the stream here. This will disconnect SSE clients (see the `/api/events` + // endpoint), who will then resume from `Last-Event-ID`, allowing them to catch up + // by reading the skipped messages from the database. // // See also: // <https://users.rust-lang.org/t/taking-from-stream-while-ok/48854> |
