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
This commit is contained in:
Steve Baker 2012-12-10 15:07:40 +13:00
parent bd56aa58cc
commit c4e73f1f55

View File

@ -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