Merge "Avoid the wsgi application to start with eventlet"
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user