Remove old DLO config remenents from proxy

Config items 'rate_limit_after_segment' and
'rate_limit_segments_per_sec' are configuration items left over from
before DLO was moved from the proxy server and into it's own
middleware. This change removes the configuration options from the
proxy server.

Change-Id: Ie3d42a57cda813feed019f01db986f13cdff9c31
This commit is contained in:
Matthew Oliver 2014-08-05 12:31:44 +10:00
parent 090baa1fa9
commit fb22363071

View File

@ -127,10 +127,6 @@ class Application(object):
self.deny_host_headers = [
host.strip() for host in
conf.get('deny_host_headers', '').split(',') if host.strip()]
self.rate_limit_after_segment = \
int(conf.get('rate_limit_after_segment', 10))
self.rate_limit_segments_per_sec = \
int(conf.get('rate_limit_segments_per_sec', 1))
self.log_handoffs = config_true_value(conf.get('log_handoffs', 'true'))
self.cors_allow_origin = [
a.strip()