Merge "Initialize osprofiler in WSGI application"

This commit is contained in:
Zuul 2018-01-27 10:26:35 +00:00 committed by Gerrit Code Review
commit 031005cd27
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,8 @@ def init_application(name):
except exception.ServiceTooOld as exc:
return error_application(exc, name)
service.setup_profiler(name, CONF.host)
conf = conf_files[0]
return deploy.loadapp('config:%s' % conf, name=name)