You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cancel any number of enqueued or processing tasks based on their uid, status, type, indexUid, or the date at which they were enqueued, processed, or completed.
The highlighted bit is incorrect. Users can only cancel enqueued or processing tasks, so it is not possible to cancel a task by its completed date. Additionally, we need to clarify that "processed" in this case means the startedAt date.
Fixesmeilisearch#2818
Currently cancel task API reference incorrectly mentions that even completed tasks can be cancelled. Updated the documentation to rectify that. Additionally added clarifications for which dates can be used for cancelling tasks.
Things to check:
1. Does the suggested change clearly convey the dates that can be used for task cancellation criteria?
2. Is there any ambiguity left here for the first time reader that needs addressal?
In the docs we state (emphasis mine):
The highlighted bit is incorrect. Users can only cancel enqueued or processing tasks, so it is not possible to cancel a task by its completed date. Additionally, we need to clarify that "processed" in this case means the
startedAt
date.Thanks for the report, @CaroFG
The text was updated successfully, but these errors were encountered: