bad95ca2bc94aedbcf235f56d6a0c4c2c72b7d08
The BaseHTTPServer will do a reverse dns lookup when log message, which will cause 10 seconds latency in some network environment. This will significantly slow down the api request when wsgiref.simple_server is used. This patch creates a class, which inherits from simple_server.WSGIRequestHandler but overrides address_string method, and passes it to handler_class param of simple_server.make_server. Change-Id: Ia38c7719ed700ab5867dcc4bcf3700bff282a907 Closes-Bug: #1291229
ceilometer
See the ReleaseNotes document and the project home for more info.
Description
Languages
Python
98.7%
Shell
1.3%