mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
fix converse result of is_task_processing()
This commit is contained in:
parent
e3fc7112bc
commit
a5a31667b0
@ -796,7 +796,7 @@ impl IndexScheduler {
|
||||
|
||||
// Return true if there is at least one task that is processing.
|
||||
pub fn is_task_processing(&self) -> Result<bool> {
|
||||
Ok(self.processing_tasks.read().unwrap().processing.is_empty())
|
||||
Ok(!self.processing_tasks.read().unwrap().processing.is_empty())
|
||||
}
|
||||
|
||||
/// Return true iff there is at least one task associated with this index
|
||||
|
Loading…
Reference in New Issue
Block a user