]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Monkey patch all the code inside neutron/cmd/eventlet/...
authorIhar Hrachyshka <ihrachys@redhat.com>
Wed, 18 Feb 2015 10:42:43 +0000 (11:42 +0100)
committerIhar Hrachyshka <ihrachys@redhat.com>
Wed, 18 Feb 2015 12:33:57 +0000 (13:33 +0100)
commit37115731515895ea224b1dafd71250d0b002ad40
tree6540c9fc99a5413d4739e77cf3a45ac81f3eff4e
parentea76d10e7492eb90f6777940304c67691caa366b
Monkey patch all the code inside neutron/cmd/eventlet/...

The directory is initially empty.

We are going to maintain entry points for all services and agents that
run in eventlet mode in this directory, and monkey patch them from
there, instead of spreading monkey_patch() calls throughout the library.

This will guarantee us that all the services that are maintained in this
part of the tree monkey patch stdlib properly, before doing any other
imports.

This is also useful to track which parts of the project require
eventlet.  This will later help to migrate services one by one out of
eventlet to real threads in case we decide to move this direction.

Related-Bug: #1417386
Related-Bug: #1418541
Change-Id: I2bc16ca4422c01d64e9fac4910214dbb0d0326ff
neutron/cmd/eventlet/__init__.py [new file with mode: 0644]