Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated cancel tasks API reference #3080

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RecreationalMath
Copy link

Fixes #2818

Currently cancel tasks 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. Shouldn't we use the word timestamp instead of date? enqueuedAt and startedAt are timestamps as per the documentation. Would writing it as timestamps contradict with the similar usage of dates everywhere else in the documentation?
  2. Does the suggested change clearly convey the dates that can be used for task cancellation criteria?
  3. Is there any ambiguity left here for the first time reader that needs addressal?

Fixes meilisearch#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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clarify cancel task API reference
1 participant