Skip to content

Commit 709d9fd

Browse files
committed
gh-132969 Fix Sphinx Lint error
1 parent d0c2bb0 commit 709d9fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Prevent the `ProcessPoolExecutor` executor thread from tying to adjust worker processes after `shutdown` is called and object state has already been reset. Calling `shutdown` with `wait=False` resets the state of the `ProcessPoolExecutor` while still leaving the executor thread running. A combination of conditions including a worker process having terminated abormally and `shutdown(wait=False)` resulted in an exception when the executor thread tried to replace dead workers, and additionally the process could also potentially hang.
1+
Prevent the ProcessPoolExecutor executor thread from tying to adjust worker processes after shutdown is called and object state has already been reset. Calling shutdown with wait=False resets the state of the ProcessPoolExecutor while still leaving the executor thread running. A combination of conditions including a worker process having terminated abormally and shutdown(wait=False) resulted in an exception when the executor thread tried to replace dead workers, and additionally the process could also potentially hang.

0 commit comments

Comments
 (0)