10000 gh-91231: multiprocessing BaseManager waits 1.0 second (#91701) · python/cpython@a885f10 · GitHub
[go: up one dir, main page]

Skip to content

Commit a885f10

Browse files
authored
gh-91231: multiprocessing BaseManager waits 1.0 second (#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.
1 parent c213ccc commit a885f10

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
@@ -677,7 +677,7 @@ def _finalize_manager(process, address, authkey, state, _Client):
677677
if hasattr(process, 'terminate'):
678678
util.info('trying to `terminate()` manager process')
679679
process.terminate()
680-
process.join(timeout=0.1)
680+
process.join(timeout=1.0)
681681
if process.is_alive():
682682
util.info('manager still alive after terminate')
683683

0 commit comments

Comments
 (0)
0