You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2015/01/22 00:11:38 UTC
trafficserver git commit: TS-153: Dynamic keep-alive timeouts
Renaming proxy.config.net.connections.threshold_shed_idle_in to
proxy.config.net.max_connections_in to be inline with the overall design in
TS-3312
Repository: trafficserver
Updated Branches:
refs/heads/master 1dfc029c7 -> 0b7bf112a
TS-153: Dynamic keep-alive timeouts
Renaming proxy.config.net.connections.threshold_shed_idle_in to
proxy.config.net.max_connections_in to be inline with the overall
design in TS-3312
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/0b7bf112
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/0b7bf112
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/0b7bf112
Branch: refs/heads/master
Commit: 0b7bf112a778111469f837a3fbba3982d217bb5d
Parents: 1dfc029
Author: Bryan Call <bc...@apache.org>
Authored: Wed Jan 21 15:09:05 2015 -0800
Committer: Bryan Call <bc...@apache.org>
Committed: Wed Jan 21 15:09:05 2015 -0800
----------------------------------------------------------------------
iocore/net/UnixNet.cc | 2 +-
mgmt/RecordsConfig.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/0b7bf112/iocore/net/UnixNet.cc
----------------------------------------------------------------------
diff --git a/iocore/net/UnixNet.cc b/iocore/net/UnixNet.cc
index c6c1ace..42bac73 100644
--- a/iocore/net/UnixNet.cc
+++ b/iocore/net/UnixNet.cc
@@ -108,7 +108,7 @@ void InactivityCop::keep_alive_lru(NetHandler &nh, const ink_hrtime now, Event *
{
// get the configuration value for the maximum incoming connections and check to see if it is set
int32_t connections_per_thread = 0;
- REC_ReadConfigInt32(connections_per_thread, "proxy.config.net.connections.threshold_shed_idle_in");
+ REC_ReadConfigInt32(connections_per_thread, "proxy.config.net.max_connections_in");
if (connections_per_thread <= 0) {
Debug("inactivity_cop_dynamic", "dynamic keep-alive not configured");
return;
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/0b7bf112/mgmt/RecordsConfig.cc
----------------------------------------------------------------------
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index fe94747..dc3b9d2 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -459,7 +459,7 @@ static const RecordElement RecordsConfig[] =
,
{RECT_CONFIG, "proxy.config.http.attach_server_session_to_client", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-1]", RECA_NULL}
,
- {RECT_CONFIG, "proxy.config.net.connections.threshold_shed_idle_in", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
+ {RECT_CONFIG, "proxy.config.net.max_connections_in", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
,
// ###########################