From: Jenkins Date: Mon, 16 Sep 2013 22:23:42 +0000 (+0000) Subject: Merge "Pass debug mode to eventlet.wsgi.server" X-Git-Tag: 2014.1~40 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b97fb5c7ad69c396afe245a0f7ca0fa475f8ebd4;p=openstack-build%2Fheat-build.git Merge "Pass debug mode to eventlet.wsgi.server" --- b97fb5c7ad69c396afe245a0f7ca0fa475f8ebd4 diff --cc heat/common/wsgi.py index 08386ed6,7147f8ab..ce317cf5 --- a/heat/common/wsgi.py +++ b/heat/common/wsgi.py @@@ -136,13 -136,8 +136,14 @@@ api_cw_group = cfg.OptGroup('heat_api_c cfg.CONF.register_group(api_cw_group) cfg.CONF.register_opts(api_cw_opts, group=api_cw_group) + cfg.CONF.import_opt('debug', 'heat.openstack.common.log') +json_size_opt = cfg.IntOpt('max_json_body_size', + default=1048576, + help='Maximum raw byte size of JSON request body.' + ' Should be larger than max_template_size.') +cfg.CONF.register_opt(json_size_opt) + class WritableLogger(object): """A thin wrapper that responds to `write` and logs."""