mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 00:55:00 +08:00
logs route profile mode: don't barf bytes if the buffer is not empty
This commit is contained in:
parent
6f3420f114
commit
32529d7442
@ -186,6 +186,10 @@ fn entry_stream(
|
|||||||
};
|
};
|
||||||
|
|
||||||
if count == 0 {
|
if count == 0 {
|
||||||
|
if !bytes.is_empty() {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// channel closed, exit
|
// channel closed, exit
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user