[Openstack] eventlet weirdness

Jay Pipes jaypipes at gmail.com
Tue Mar 6 19:15:19 UTC 2012


On 03/05/2012 08:30 PM, Adam Young wrote:
> The only time sleep() as called from Python code is going to help you is
> if you have a long running stretch of Python code, and you sleep() in
> the middle of it.

That's exactly where the greenthread.sleep(0) call in question was used: 
inside a (potentially) long-running loop in _sync_power_states()...

Best,
-jay




More information about the Openstack mailing list