diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index d97381926d..6f9a4dab8a 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -671,13 +671,13 @@ def _finalize_manager(process, address, authkey, state, _Client): except Exception: pass - process.join(timeout=1.0) + process.join(timeout=1e-3) if process.is_alive(): util.info('manager still alive') if hasattr(process, 'terminate'): util.info('trying to `terminate()` manager process') process.terminate() - process.join(timeout=0.1) + process.join(timeout=1e-6) if process.is_alive(): util.info('manager still alive after terminate')