From fb22363071e787d1dc415937699a97545d6bed7b Mon Sep 17 00:00:00 2001 From: Matthew Oliver Date: Tue, 5 Aug 2014 12:31:44 +1000 Subject: [PATCH] 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 --- swift/proxy/server.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/swift/proxy/server.py b/swift/proxy/server.py index b62c434fb9..4188ad58c2 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()