mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 09:04:59 +08:00
test fail fix
This commit is contained in:
parent
6bdd37beb8
commit
980776b646
@ -263,6 +263,11 @@ async fn document_addition(
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if let Err(e) = buffer.flush().await {
|
||||||
|
error!("bufWriter flush error: {}", e);
|
||||||
|
return Err(MeilisearchHttpError::Payload(ReceivePayloadErr));
|
||||||
|
};
|
||||||
|
|
||||||
if buffer_write_size == 0 {
|
if buffer_write_size == 0 {
|
||||||
return Err(MeilisearchHttpError::MissingPayload(format));
|
return Err(MeilisearchHttpError::MissingPayload(format));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user