mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Increase timeout used when waiting for manager to shutdown cleanly
before resorting to terminate()
This commit is contained in:
parent
0f52346e76
commit
3049f1243e
2 changed files with 6 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ class BaseManager(object):
|
|||
except Exception:
|
||||
pass
|
||||
|
||||
process.join(timeout=0.2)
|
||||
process.join(timeout=1.0)
|
||||
if process.is_alive():
|
||||
util.info('manager still alive')
|
||||
if hasattr(process, 'terminate'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue