
In "ListNamespacePids", to check that a process is running inside a namespace, a new thread is spawned. Inside it a shell command is executed ("sleep <timeout>"). To avoid calling the method "utils.kill_process" with the correspondent overhead when running as root, this patch reduces the "sleep" time to a short period (3 seconds) and lets the process to finish gracefully. Trivial-Fix Change-Id: Ib33e725b563b863810f61f457a0ddfee8edc5c2e
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: https://docs.openstack.org
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst
Description
Languages
Python
99.7%
Shell
0.3%