mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-06-06 20:25:40 +00:00
Rename batcherStoppedBecause
to batchCreationComplete
This commit is contained in:
parent
3f683c4238
commit
91d2a07499
@ -22,7 +22,7 @@ pub struct BatchView {
|
|||||||
#[serde(with = "time::serde::rfc3339::option", default)]
|
#[serde(with = "time::serde::rfc3339::option", default)]
|
||||||
pub finished_at: Option<OffsetDateTime>,
|
pub finished_at: Option<OffsetDateTime>,
|
||||||
#[serde(default = "meilisearch_types::batches::default_stop_reason")]
|
#[serde(default = "meilisearch_types::batches::default_stop_reason")]
|
||||||
pub batcher_stopped_because: String,
|
pub batch_creation_complete: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl BatchView {
|
impl BatchView {
|
||||||
@ -35,7 +35,7 @@ impl BatchView {
|
|||||||
duration: batch.finished_at.map(|finished_at| finished_at - batch.started_at),
|
duration: batch.finished_at.map(|finished_at| finished_at - batch.started_at),
|
||||||
started_at: batch.started_at,
|
started_at: batch.started_at,
|
||||||
finished_at: batch.finished_at,
|
finished_at: batch.finished_at,
|
||||||
batcher_stopped_because: batch.stop_reason.clone(),
|
batch_creation_complete: batch.stop_reason.clone(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user