From: Steve Baker Date: Mon, 10 Dec 2012 02:07:40 +0000 (+1300) Subject: Eventlet monkey-patch heat-api X-Git-Tag: 2014.1~1098^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c4e73f1f559a79567e94435830bcc77ac34eca54;p=openstack-build%2Fheat-build.git Eventlet monkey-patch heat-api I have a stress test which uses python-heatclient to create an empty template, list the stacks, and delete the created stack. Running 100 of these jobs concurrently takes 64 seconds without this patch, and 17 seconds with it. Change-Id: I8963da477aa8fcec724e2e5afcd5ec92ff5b07d1 --- diff --git a/bin/heat-api b/bin/heat-api index 201abe95..85462643 100755 --- a/bin/heat-api +++ b/bin/heat-api @@ -17,6 +17,9 @@ Heat API Server. An OpenStack ReST API to Heat. """ +import eventlet +eventlet.monkey_patch(os=False) + import gettext import os import sys