Skip to content

Commit

Permalink
Merge "Removed unused parameter in server.py"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Feb 12, 2016
2 parents c4158bd + bcada66 commit 02fb983
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions doc/manpages/proxy-server.conf.5
Original file line number Diff line number Diff line change
Expand Up @@ -1002,8 +1002,6 @@ The valid values for sorting_method are "affinity", "shuffle", and "timing".
.IP \fBtiming_expiry\fR
If the "timing" sorting_method is used, the timings will only be valid for
the number of seconds configured by timing_expiry. The default is 300.
.IP \fBmax_large_object_get_time\fR
The maximum time (seconds) that a large object connection is allowed to last. The default is 86400.
.IP \fBrequest_node_count\fR
Set to the number of nodes to contact for a normal request. You can use '* replicas'
at the end to have it use the number given times the number of
Expand Down
3 changes: 0 additions & 3 deletions etc/proxy-server.conf-sample
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,6 @@ use = egg:swift#proxy
# the number of seconds configured by timing_expiry.
# timing_expiry = 300
#
# The maximum time (seconds) that a large object connection is allowed to last.
# max_large_object_get_time = 86400
#
# Set to the number of nodes to contact for a normal request. You can use
# '* replicas' at the end to have it use the number given times the number of
# replicas for the ring being used for the request.
Expand Down
2 changes: 0 additions & 2 deletions swift/proxy/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ def __init__(self, conf, memcache=None, logger=None, account_ring=None,
self.node_timings = {}
self.timing_expiry = int(conf.get('timing_expiry', 300))
self.sorting_method = conf.get('sorting_method', 'shuffle').lower()
self.max_large_object_get_time = float(
conf.get('max_large_object_get_time', '86400'))
value = conf.get('request_node_count', '2 * replicas').lower().split()
if len(value) == 1:
rnc_value = int(value[0])
Expand Down

0 comments on commit 02fb983

Please sign in to comment.