[eventlet-removal] Remove the usage of eventlet in the Neutron API (2)

In [1], it was missing the removal of ``monkey_patch()`` call. The
Neutron API no longer calls/needs eventlet.

[1]https://review.opendev.org/c/openstack/neutron/+/938659

Related-Bug: #2087953
Change-Id: If367919c0dd54a4db956b50c2b0712fcd41b12a9
This commit is contained in:
Rodolfo Alonso Hernandez
2025-02-11 06:31:54 +00:00
committed by Rodolfo Alonso
parent 57e1f20373
commit b1ebfd62d5

View File

@ -11,14 +11,6 @@
# under the License.
"""WSGI application entry-point for Neutron API."""
# NOTE: the WSGI module needs to monkey patch the libraries before any other
# module loads them. That will prevent the recursion error in the SSL library
# reported in LP#2075147
# pylint: disable=wrong-import-position
from neutron.common import eventlet_utils
eventlet_utils.monkey_patch()
import threading # noqa:E402
from neutron import server # noqa:E402