Merge "Enable monkeypatch for select module"
This commit is contained in:
commit
2e150c57db
@ -108,9 +108,10 @@ class DispatchedService(object):
|
||||
|
||||
|
||||
def prepare_service(argv=None):
|
||||
# NOTE(jd) We need to monkey patch the socket module for, at least,
|
||||
# oslo.rpc, otherwise everything's blocked on its first read()
|
||||
eventlet.monkey_patch(socket=True)
|
||||
# NOTE(jd) We need to monkey patch the socket and select module for,
|
||||
# at least, oslo.rpc, otherwise everything's blocked on its first read()
|
||||
# or select()
|
||||
eventlet.monkey_patch(socket=True, select=True)
|
||||
gettextutils.install('ceilometer', lazy=True)
|
||||
rpc.set_defaults(control_exchange='ceilometer')
|
||||
cfg.set_defaults(log.log_opts,
|
||||
|
Loading…
x
Reference in New Issue
Block a user