mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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 a885f10325
)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
63af7b3b11
commit
3b6072e7f5
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ class BaseManager(object):
|
|||
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