Make it safe for workload executors to output large amounts of text #9
Labels
bug
Something isn't working
enhancement
New feature or request
high priority
This is needed urgently
Milestone
Currently, when running the workload executor, we PIPE the output from its stderr and stdout streams. To avoid blocking the child process when the pipe fills up, we need to continuously read the worker_subprocess output (via worker_subprocess.stdout.read(..)).
Thanks to @ShaneHarvey for the context:
A more elegant solution will be to redirect the worker_subprocess output to a file. Then we can open and read the file after the process exits.
The text was updated successfully, but these errors were encountered: