summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Oliver <matt@oliver.net.au>2014-08-05 12:31:44 +1000
committerMatthew Oliver <matt@oliver.net.au>2014-08-06 11:14:00 +1000
commitfb22363071e787d1dc415937699a97545d6bed7b (patch)
tree82c0e6136ee87e651bab7c7c9108b0472b4eb020
parent090baa1fa968d85da51dfdfcded2da6430900d7f (diff)
downloadswift-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.py4
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()