commit | 061a8bf77c80036bed3ef4973fe0c99705c83fc6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Apr 19 16:27:00 2022 +0200 |
committer | GitHub <noreply@github.com> | Tue Apr 19 16:27:00 2022 +0200 |
tree | 19c2418fd5877d4b3cc211e7f40eff5ad5397a08 | |
parent | 74070085da5322ac83c954f101f2caa150655be2 [diff] |
gh-91231: Add shutdown_timeout to multiprocessing BaseManager (#32112) Add an optional keyword 'shutdown_timeout' parameter to the multiprocessing.BaseManager constructor. Kill the process if terminate() takes longer than the timeout. Multiprocessing tests pass test.support.SHORT_TIMEOUT to BaseManager.shutdown_timeout.