diff options
Diffstat (limited to 'src/http/sse.rs')
| -rw-r--r-- | src/http/sse.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/http/sse.rs b/src/http/sse.rs index 5bfb75b..561de33 100644 --- a/src/http/sse.rs +++ b/src/http/sse.rs @@ -1,15 +1,3 @@ -//! The live log tail (§13): `GET /builds/:id/log.stream` as server-sent events. -//! -//! This is a blocking `std::io::Read` polled by the connection's thread, which is -//! exactly the shape §14 asks for — no async runtime, no timer wheel. The -//! pipeline appends to a plain file, so "streaming the log" means noticing that -//! the file grew and forwarding the new bytes. Nothing in the build path knows -//! this reader exists, which is what makes it safe to have at all: a client that -//! disconnects, hangs or never connects cannot slow a build by a microsecond. -//! -//! The stream ends when the build reaches a terminal state and the file has no -//! more bytes, so a browser tab does not hold a connection open forever. - use std::io::{self, Read}; use std::path::{Path, PathBuf}; use std::time::{Duration, Instant}; |
