8000 gh-91231: multiprocessing BaseManager waits 1.0 second (GH-91701) · python/cpython@3b6072e · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b6072e

Browse files
gh-91231: multiprocessing BaseManager waits 1.0 second (GH-91701)
Shutting down a multiprocessing BaseManager now waits for 1 second until the process completes, rather than 0.1 second, after the process is terminated. (cherry picked from commit a885f10) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 63af7b3 commit 3b6072e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/multiprocessing/managers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ def _finalize_manager(process, address, authkey, state, _Client):
669669
if hasattr(process, 'terminate'):
670670
util.info('trying to `terminate()` manager process')
671671
process.terminate()
672-
process.join(timeout=0.1)
672+
process.join(timeout=1.0)
673673
if process.is_alive():
674674
util.info('manager still alive after terminate')
675675

0 commit comments

Comments
 (0)
0