Files
oslo.utils/oslo_utils/eventletutils.py
Zane Bitter 14a53c4d8a Avoid calling eventlet.event.Event.reset()
The eventlet maintainers have made it clear that calling reset() on an
Event is not recommended:

715b2ced52

We don't really need to resend the event to wake up threads, because
Event.wait() will return immediately once the event has been sent. So
just rely on the internal _set flag to tell us whether we need to send
the event.

Change-Id: I466aa7cb64308e018598c3bb63a9d0cfbc833adc
2019-01-03 09:48:22 +13:00

7.0 KiB