Remove workaround for eventlet bug #592
This code worked around a bug in eventlet[1] that has been fixed in 115103d5608cbe8f15df10e27eba1644f5364e95. The fix has been available in every eventlet release since v0.27.0. [1] https://github.com/eventlet/eventlet/issues/592 Change-Id: I7186af20055ff47ab10c6ff37bca0e3546d4affb
This commit is contained in:
parent
d74365969e
commit
8a866dde3c
@ -17,11 +17,5 @@ import eventlet
|
|||||||
import oslo_i18n as i18n
|
import oslo_i18n as i18n
|
||||||
|
|
||||||
eventlet.monkey_patch()
|
eventlet.monkey_patch()
|
||||||
# Monkey patch the original current_thread to use the up-to-date _active
|
|
||||||
# global variable. See https://bugs.launchpad.net/bugs/1863021 and
|
|
||||||
# https://github.com/eventlet/eventlet/issues/592
|
|
||||||
import __original_module_threading as orig_threading # noqa
|
|
||||||
import threading # noqa
|
|
||||||
orig_threading.current_thread.__globals__['_active'] = threading._active
|
|
||||||
|
|
||||||
i18n.install('cyborg')
|
i18n.install('cyborg')
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
pbr>=0.11,!=2.1.0 # Apache-2.0
|
pbr>=0.11,!=2.1.0 # Apache-2.0
|
||||||
pecan>=1.0.0,!=1.0.2,!=1.0.3,!=1.0.4,!=1.2 # BSD
|
pecan>=1.0.0,!=1.0.2,!=1.0.3,!=1.0.4,!=1.2 # BSD
|
||||||
WSME>=0.10.1 # MIT
|
WSME>=0.10.1 # MIT
|
||||||
eventlet>=0.26.0 # MIT
|
eventlet>=0.27.0 # MIT
|
||||||
oslo.i18n>=1.5.0 # Apache-2.0
|
oslo.i18n>=1.5.0 # Apache-2.0
|
||||||
oslo.config>=1.1.0,!=4.3.0,!=4.4.0 # Apache-2.0
|
oslo.config>=1.1.0,!=4.3.0,!=4.4.0 # Apache-2.0
|
||||||
oslo.log>=5.0.0 # Apache-2.0
|
oslo.log>=5.0.0 # Apache-2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user