mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 16:21:07 +00:00
Extract the must_stop flag out of the RwLock
This commit is contained in:
committed by
Clément Renault
parent
3cbfacb616
commit
b373d19831
@ -14,6 +14,7 @@ use crate::{index_mapper::IndexMapper, IndexScheduler, Kind, Status};
|
||||
pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String {
|
||||
let IndexScheduler {
|
||||
autobatching_enabled,
|
||||
must_stop_processing,
|
||||
processing_tasks,
|
||||
file_store,
|
||||
env,
|
||||
|
Reference in New Issue
Block a user