Merge "Avoid the wsgi application to start with eventlet"

This commit is contained in:
Zuul
2025-09-09 16:20:53 +00:00
committed by Gerrit Code Review

View File

@@ -14,7 +14,13 @@
import threading
from ironic.api import wsgi
# NOTE(amorin)
# Hardcode the threading backend to avoid using eventlet until this will
# eventually become the default
import oslo_service.backend as service_backend
service_backend.init_backend(service_backend.BackendType.THREADING)
from ironic.api import wsgi # noqa
application = None
lock = threading.Lock()