This is an automated email from the ASF dual-hosted git repository.
jacksontj pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new c36063f TS-4968: Log a warning if connect_attempts_rr_retries is
>= connect_attempts_max_retries
c36063f is described below
commit c36063f7b13095e5b6dd784f41f7842ad5efd330
Author: Thomas Jackson <[email protected]>
AuthorDate: Wed Oct 26 17:31:09 2016 -0700
TS-4968: Log a warning if connect_attempts_rr_retries is >=
connect_attempts_max_retries
Fix formatting and compiler warning
---
proxy/http/HttpConfig.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/proxy/http/HttpConfig.cc b/proxy/http/HttpConfig.cc
index 45aa653..a5dd15c 100644
--- a/proxy/http/HttpConfig.cc
+++ b/proxy/http/HttpConfig.cc
@@ -1225,9 +1225,9 @@ HttpConfig::reconfigure()
params->oride.connect_attempts_max_retries =
m_master.oride.connect_attempts_max_retries;
params->oride.connect_attempts_max_retries_dead_server =
m_master.oride.connect_attempts_max_retries_dead_server;
if (m_master.oride.connect_attempts_rr_retries >=
params->oride.connect_attempts_max_retries) {
- Warning("connect_attempts_rr_retries (%d) is greater than
connect_attempts_max_retries (%d), this means requests will never "
- "redispatch "
- "to another server",
+ Warning("connect_attempts_rr_retries (%" PRIu64 ") is greater than "
+ "connect_attempts_max_retries (%" PRIu64 "), this means requests "
+ "will never redispatch to another server",
m_master.oride.connect_attempts_rr_retries,
params->oride.connect_attempts_max_retries);
}
params->oride.connect_attempts_rr_retries =
m_master.oride.connect_attempts_rr_retries;
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].