fix error message when empty payload

This commit is contained in:
mpostma
2021-02-17 12:16:54 +01:00
parent 93ce32d94d
commit ae9a41a19f
4 changed files with 2 additions and 49 deletions

View File

@ -38,7 +38,6 @@ impl Data {
file.sync_all().await?;
let file = file.into_std().await;
let index_controller = self.index_controller.clone();
let update = tokio::task::spawn_blocking(move ||{
let mmap;