]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add greenthread.sleep() to parent wait()
authorscott-dangelo <scott.dangelo@hp.com>
Fri, 22 Nov 2013 16:28:07 +0000 (16:28 +0000)
committerscott-dangelo <scott.dangelo@hp.com>
Fri, 22 Nov 2013 16:37:52 +0000 (16:37 +0000)
commit273d8765115f0936d24549db8698dbe7e8d2ec1a
treed36db8ed27b56b02f55e4e2bd54c9d80427f8397
parent653c403b047822e3a4b270c78218142d1ec33347
Add greenthread.sleep() to parent wait()

Add an eventlet.greenthread.sleep() to wait() to keep
cinder-volume parent from looping after catching SIGTERM
and hogging the CPU. This was already added to the running
state but is missing from the SIGTERM caught state when
the parent waits to reap the child.

Change-Id: Ia871e31db5bf9ec4e86f926f8f6c4f0f4ecb7925
Closes-Bug: #1254089
cinder/service.py