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
Use ProcessPoolExecutor to handle processing of a submission, and a background task to monitor completion of Future. If the task is not completed after a configurable amount of time, set submission to VALIDATION_EXPIRED. Check in submission processing, prior to storing final state of the submission, if the submission has been expired.
The text was updated successfully, but these errors were encountered:
Closes#173Closes#181
- Added the multithread_handler.py to handle creating the event loop,
and monitoring the future from the process executor
- Added the ProcessPoolExecutor stuff to the submission POST. I was not
able to get this working in its own class/function for some reason, I
had to add this stuff for the executor and background task directly to
the endpoint. Otherwise, the execution task never fired.
- Added pytests
---------
Co-authored-by: lchen-2101 <73617864+lchen-2101@users.noreply.github.com>
Use ProcessPoolExecutor to handle processing of a submission, and a background task to monitor completion of Future. If the task is not completed after a configurable amount of time, set submission to VALIDATION_EXPIRED. Check in submission processing, prior to storing final state of the submission, if the submission has been expired.
The text was updated successfully, but these errors were encountered: