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

feat: Add endpoint on Polling Agent to kill the current task if task is in cancelling status #244

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

aneojgurhem
Copy link
Contributor

This PR adds an endpoint in the Agent to cancel the current task if the task is in cancelling state. It updates the taskData in the TaskHandler and eventually trigger the cancellation token if the task is in cancelling status.

fix aneoconsulting/ArmoniK#510

ngruelaneo
ngruelaneo previously approved these changes Feb 7, 2023
@aneojgurhem aneojgurhem merged commit f74f373 into main Feb 7, 2023
@aneojgurhem aneojgurhem deleted the jg/cancelrunningtask branch February 7, 2023 17:43
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.

Prepare cancellation token for task cancellation and session cancellation
2 participants