cinder.monkey_patch module

Enable eventlet monkey patching.

is_patched() bool
patch(backend='eventlet') None

Apply eventlet monkey patching according to environment.

Parameters:

backend – Defines the default backend if not explicitly set via the environment. If ‘eventlet’, then monkey patch if environment variable is not defined. If ‘threading’, then do not monkey patch if environment variable is not defined. Any other value results in a ValueError. If the environment variable is defined this parameter is ignored.

poison_eventlet()