make meilisearch accept cancelation tasks even when the disk is full

This commit is contained in:
Tamo
2025-04-03 15:47:56 +02:00
parent 418fa47963
commit 1db550ec7f
3 changed files with 33 additions and 6 deletions

View File

@ -292,8 +292,6 @@ impl Queue {
return Ok(task);
}
// Get rid of the mutability.
let task = task;
self.tasks.register(wtxn, &task)?;
Ok(task)