trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jackso...@apache.org
Subject [trafficserver] branch master updated: TS-4968: Log a warning if connect_attempts_rr_retries is >= connect_attempts_max_retries
Date Thu, 27 Oct 2016 00:35:01 GMT
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 <jacksontj.89@gmail.com>
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
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message