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
a885f10325eb2fc27cd50ace5614666ea688ab66)
Co-authored-by: Victor Stinner <vstinner@python.org>
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')