mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
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.
This commit is contained in:
parent
c213cccc9b
commit
a885f10325
1 changed files with 1 additions and 1 deletions
|
|
@ -677,7 +677,7 @@ def _finalize_manager(process, address, authkey, state, _Client):
|
|||
if hasattr(process, 'terminate'):
|
||||
util.info('trying to `terminate()` manager process')
|
||||
process.terminate()
|
||||
process.join(timeout=0.1)
|
||||
process.join(timeout=1.0)
|
||||
if process.is_alive():
|
||||
util.info('manager still alive after terminate')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue