diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-06-01 13:57:02 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-06-18 18:31:40 -0400 |
| commit | 23c2f6fbc07f25a11826892d783bddcc93550d25 (patch) | |
| tree | 071cc9f09b349b4e8705ef775d4aae87a1299bda | |
| parent | d84ba5cd09b713fac2f193d5c05af7415ea6742d (diff) | |
Fix stray reference to a nonexistent file.
I've replaced it with something more general, which will be applicable no matter how we restructure the routing.
| -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> |
