diff options
author | Matthew Oliver <matt@oliver.net.au> | 2014-08-05 12:31:44 +1000 |
---|---|---|
committer | Matthew Oliver <matt@oliver.net.au> | 2014-08-06 11:14:00 +1000 |
commit | fb22363071e787d1dc415937699a97545d6bed7b (patch) | |
tree | 82c0e6136ee87e651bab7c7c9108b0472b4eb020 | |
parent | 090baa1fa968d85da51dfdfcded2da6430900d7f (diff) | |
download | swift-fb22363071e787d1dc415937699a97545d6bed7b.tar.gz |
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
-rw-r--r-- | swift/proxy/server.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/swift/proxy/server.py b/swift/proxy/server.py index b62c434fb..4188ad58c 100644 --- a/swift/proxy/server.py +++ b/swift/proxy/server.py @@ -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() |