distcloud/dcorch
Andy Ning 3e2eccea4a Moved eventlet monkey_patch before app is imported
In cmd/api.py the eventlet monkey_patch has been moved to be before api
app import. This is because if it's called too late, the api app and
db api module will be loaded without awareness of eventlet, the
threading local context in db api won't be eventlet compatible, causing
DB parallel operation errors.

Change-Id: I294657fc910c6a4696f91308d60697d005dc53b0
Closes-Bug: 1846411
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2019-10-03 13:29:30 -04:00
..
api DC remove firewallrules audit from dcorch 2019-09-18 10:08:13 -04:00
cmd Moved eventlet monkey_patch before app is imported 2019-10-03 13:29:30 -04:00
common Merge "DC remove firewallrules audit from dcorch" 2019-09-19 16:47:30 +00:00
db StarlingX open source release updates 2018-08-07 11:51:21 -04:00
drivers Merge "DC remove firewallrules audit from dcorch" 2019-09-19 16:47:30 +00:00
engine Merge "DC remove firewallrules audit from dcorch" 2019-09-19 16:47:30 +00:00
objects StarlingX open source release updates 2018-08-07 11:51:21 -04:00
rpc Use triple double-quoted strings for docstrings 2019-07-01 15:10:59 +08:00
snmp FIX: "dict" issue for Python 2/3 compatible code 2019-01-15 00:33:38 +00:00
tests StarlingX open source release updates 2018-08-07 11:51:21 -04:00
__init__.py StarlingX open source release updates 2018-08-07 11:51:21 -04:00
config-generator.conf StarlingX open source release updates 2018-08-07 11:51:21 -04:00
version.py StarlingX open source release updates 2018-08-07 11:51:21 -04:00