[openstack-dev] time.sleep is affected by eventlet.monkey_patch()

Yuriy Taraday yorik.sar at gmail.com
Fri Mar 7 07:20:39 UTC 2014


Hello.


On Fri, Mar 7, 2014 at 10:34 AM, 黎林果 <lilinguo8212 at gmail.com> wrote:
>
> 2014-03-07 *11:55:49*          the sleep time = past time + 30
>

With that eventlet doesn't break the promise of waking your greenthread
after at least 30 seconds. Have you tried doing the same test, but with
moving clock forwards instead of backwards?

All in all it sounds like an eventlet bug. I'm not sure how it can be dealt
with though.

-- 

Kind regards, Yuriy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140307/d404993a/attachment.html>


More information about the OpenStack-dev mailing list