mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-05 20:26:31 +00:00
Format
This commit is contained in:
@ -228,7 +228,7 @@ async fn snapshotception_issue_4653() {
|
|||||||
|
|
||||||
let options = Opt { import_snapshot: Some(snapshot_path), ..default_settings(temp.path()) };
|
let options = Opt { import_snapshot: Some(snapshot_path), ..default_settings(temp.path()) };
|
||||||
let snapshot_server = Server::new_with_options(options).await.unwrap();
|
let snapshot_server = Server::new_with_options(options).await.unwrap();
|
||||||
|
|
||||||
// The snapshot creation task should NOT be spawned again => task is succeeded
|
// The snapshot creation task should NOT be spawned again => task is succeeded
|
||||||
let (task, code) = snapshot_server.get_task(task.uid()).await;
|
let (task, code) = snapshot_server.get_task(task.uid()).await;
|
||||||
snapshot!(code, @"200 OK");
|
snapshot!(code, @"200 OK");
|
||||||
|
@ -119,6 +119,7 @@ pub struct FacetsUpdate<'i> {
|
|||||||
min_level_size: u8,
|
min_level_size: u8,
|
||||||
data_size: u64,
|
data_size: u64,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'i> FacetsUpdate<'i> {
|
impl<'i> FacetsUpdate<'i> {
|
||||||
pub fn new(
|
pub fn new(
|
||||||
index: &'i Index,
|
index: &'i Index,
|
||||||
|
Reference in New Issue
Block a user