diff --git a/meilisearch/src/routes/logs.rs b/meilisearch/src/routes/logs.rs index a62f6d648..48bf181be 100644 --- a/meilisearch/src/routes/logs.rs +++ b/meilisearch/src/routes/logs.rs @@ -186,6 +186,10 @@ fn entry_stream( }; if count == 0 { + if !bytes.is_empty() { + break; + } + // channel closed, exit return None; }