This patch adds a reasonable timeout (10 minutes) to all commands executed using process_utils.execute. This is useful in current release to make sure that if a processes hangs it doesn't get stuck there forever. For older releases, where privsep could only process a single request at a time, it's even more helpful, because it means it will "automatically" unblock privsep requests after 10 minutes if a process gets stuck. Change-Id: I2a42ede824c4b0d0d7b3e4eefefabd64714604eb
6 lines
162 B
YAML
6 lines
162 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Add a 10 minutes default timeout to shell commands executed through
|
|
subprocess to prevent the possibility of them getting stuck forever.
|