mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Update the canceledBy and finishedAt fields
This commit is contained in:
parent
74657bba2c
commit
01ed1fb128
6 changed files with 29 additions and 8 deletions
|
@ -397,6 +397,7 @@ impl IndexScheduler {
|
|||
started_at: None,
|
||||
finished_at: None,
|
||||
error: None,
|
||||
canceled_by: None,
|
||||
details: kind.default_details(),
|
||||
status: Status::Enqueued,
|
||||
kind: kind.clone(),
|
||||
|
@ -478,6 +479,7 @@ impl IndexScheduler {
|
|||
started_at: task.started_at,
|
||||
finished_at: task.finished_at,
|
||||
error: task.error,
|
||||
canceled_by: task.canceled_by,
|
||||
details: task.details,
|
||||
status: task.status,
|
||||
kind: match task.kind {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue