Remove wsgi eventlet monkey patch
We don't actually need to monkey patch the api component. Change-Id: Ib7e8bf2ad79ffe906698256664be680750f2e1e9
This commit is contained in:
parent
9e3c2bb65b
commit
68d8d8f4e5
|
@ -11,10 +11,6 @@
|
|||
# under the License.
|
||||
"""WSGI script for Designate API."""
|
||||
|
||||
import eventlet # noqa
|
||||
|
||||
eventlet.monkey_patch(os=False) # noqa
|
||||
|
||||
import os
|
||||
|
||||
from oslo_config import cfg
|
||||
|
@ -52,7 +48,9 @@ def init_application():
|
|||
if not rpc.initialized():
|
||||
rpc.init(CONF)
|
||||
|
||||
heartbeat = service.Heartbeat('api', threadgroup.ThreadGroup())
|
||||
heartbeat = service.Heartbeat(
|
||||
'api', threadgroup.ThreadGroup(thread_pool_size=1)
|
||||
)
|
||||
heartbeat.start()
|
||||
|
||||
conf = conf_files[0]
|
||||
|
|
Loading…
Reference in New Issue