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: I064ad8eb830c24eee97a7136396edc7b515ed479
This commit is contained in:
Cyril Roelandt 2024-09-30 16:10:54 +02:00
parent e0bfe23a72
commit 5c5e1063ed

View File

@ -18,9 +18,3 @@
import eventlet
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