Fix eventlet issue

This patch will remove parameters in monkey_patch, that patchs
all components.

Change-Id: Id5cafcb13a10c7641c899b5176c2c14e1ffc5491
This commit is contained in:
Cong Phuoc Hoang 2018-07-17 17:31:15 +09:00
parent e1c492553f
commit 22c33bda5a

View File

@ -20,7 +20,7 @@ from oslo_utils import importutils
def monkey_patch(): def monkey_patch():
eventlet.monkey_patch(all=False, socket=True) eventlet.monkey_patch()
if os.name != 'nt': if os.name != 'nt':
p_c_e = importutils.import_module('pyroute2.config.asyncio') p_c_e = importutils.import_module('pyroute2.config.asyncio')
p_c_e.asyncio_config() p_c_e.asyncio_config()