mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Extract the must_stop flag out of the RwLock
This commit is contained in:
parent
3cbfacb616
commit
b373d19831
3 changed files with 43 additions and 22 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue