bring back the IndexMeta and IndexStats in meilisearch-http

This commit is contained in:
Tamo 2022-09-27 19:52:06 +02:00 committed by Clément Renault
parent f4ecf75cda
commit 0d0b2a9ac1
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
6 changed files with 208 additions and 130 deletions

View file

@ -82,6 +82,13 @@ impl Query {
..self
}
}
pub fn with_limit(self, limit: u32) -> Self {
Self {
limit,
..self
}
}
}
pub mod db_name {
@ -197,7 +204,6 @@ impl IndexScheduler {
};
std::thread::spawn(move || loop {
println!("started running");
run.wake_up.wait();
match run.tick() {