-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Avoid hanging forever after a parallel job was killed #7834
Commits on Nov 23, 2022
-
Replace multiprocessing.pool with concurrent.futures.ProcessPoolExecu…
…tor to avoid deadlocks. In a multiprocessing.pool, if a process terminates in a non-clean fashion (for example, due to OOM or a segmentation fault), the pool will silently replace said process, but the work that the process was supposed to do will never be done, causing pylint to hang indefinitely. The concurrent.futures.ProcessPoolExecutor will raise a BrokenProcessPool exception in that case, avoiding the hang.
Configuration menu - View commit details
-
Copy full SHA for fc1baf7 - Browse repository at this point
Copy the full SHA fc1baf7View commit details
Commits on Nov 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d5e17d8 - Browse repository at this point
Copy the full SHA d5e17d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2657772 - Browse repository at this point
Copy the full SHA 2657772View commit details
Commits on Nov 28, 2022
-
Add a test that an error in the initializer for the parallel jobs, do…
…esn't lead to a deadlock.
Configuration menu - View commit details
-
Copy full SHA for 2e47049 - Browse repository at this point
Copy the full SHA 2e47049View commit details
Commits on Dec 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 236e5e9 - Browse repository at this point
Copy the full SHA 236e5e9View commit details
Commits on Dec 6, 2022
-
Guard concurrent.futures imports, because they are not available in E…
…mscripten and WASI.
Configuration menu - View commit details
-
Copy full SHA for 61b8342 - Browse repository at this point
Copy the full SHA 61b8342View commit details
Commits on Dec 8, 2022
-
Check availability of concurrent.futures module instead of multiproce…
…ssing for single process fallback.
Configuration menu - View commit details
-
Copy full SHA for a52cb6c - Browse repository at this point
Copy the full SHA a52cb6cView commit details
Commits on Dec 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 30af13a - Browse repository at this point
Copy the full SHA 30af13aView commit details
Commits on Dec 12, 2022
-
Update tests/test_check_parallel.py
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e164bea - Browse repository at this point
Copy the full SHA e164beaView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 69729db - Browse repository at this point
Copy the full SHA 69729dbView commit details