Removed unused parameter in server.py
The variable max_large_object_get_time is no longer used and was removed to reflect the change. Change-Id: I43051181dcb38245de6d13fab63876e83f46fc39 Closes-Bug: #1538834
This commit is contained in:
parent
45a7a15674
commit
bcada66b90
@ -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
|
||||
|
@ -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.
|
||||
|
@ -147,8 +147,6 @@ class Application(object):
|
||||
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])
|
||||
|
Loading…
Reference in New Issue
Block a user