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

Document "should I stop" task checkpoints #2688

Open
CaroFG opened this issue Jan 17, 2024 · 0 comments
Open

Document "should I stop" task checkpoints #2688

CaroFG opened this issue Jan 17, 2024 · 0 comments

Comments

@CaroFG
Copy link
Contributor

CaroFG commented Jan 17, 2024

taskCancellation type tasks in Meilisearch are prioritized, but it's important to understand that a task will only be effectively canceled when it reaches a specific checkpoint in its execution where it evaluates whether it should stop. These checkpoints are distributed at various points in the task's code, and sometimes there can be a significant interval before a task reaches the next checkpoint to evaluate the cancellation request.

Source: slack discussion with @Kerollmops

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants