python-amazon-paapi icon indicating copy to clipboard operation
python-amazon-paapi copied to clipboard

Add robustness to failure of python multiprocessing

Open petercorke opened this issue 1 year ago • 0 comments

Add robustness to failure of the Python standard multiprocessing module. This can happen for processes running in an suexec environment on a commercial cloud server where files in /sys are not readable, and leads to very unhelpful error messages and deep tracebacks.

The changes mean that if a thread pool can't be created then carry on in a single-threaded way.

petercorke avatar Dec 08 '24 01:12 petercorke