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

Feature/UOT-130237 #90

Merged
merged 4 commits into from
Feb 4, 2022
Merged

Feature/UOT-130237 #90

merged 4 commits into from
Feb 4, 2022

Conversation

JaredJRoss
Copy link
Contributor

Added the ability to stop threads that are running in the background, tracking which file is being downloaded from s3 and failed processes are now being tracked along with a message that can be shown

To test
The best endpoint I found to test it on running downloadCorpus. This should return the process status which should now have the thread id in it. Otherwise you can also hit the getProcessStatus endpoint. From there you can make a post request to stopProcess with the dict {"thread_id":(int of thread id), "process":(name of the process so we can also update it in redis)}

@JaredJRoss
Copy link
Contributor Author

image

@rha930 rha930 merged commit c79215e into dev Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or task v1.2.0 released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants