summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpinternal.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-01-04 10:23:22 -0500
committerOz Linden <oz@lindenlab.com>2013-01-04 10:23:22 -0500
commitb75fc0af897124a05ab3842bdfc60f428d22e051 (patch)
tree3cce57b84110720ea15f370b496d1bc6340a154f /indra/llcorehttp/_httpinternal.h
parent584b615c3444fdeaa0d41f1d9e839edf1518a310 (diff)
parentdef472b45cb17dd125f802dc3be85450135537a8 (diff)
merge up to 3.4.4 beta
Diffstat (limited to 'indra/llcorehttp/_httpinternal.h')
-rw-r--r--indra/llcorehttp/_httpinternal.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/llcorehttp/_httpinternal.h b/indra/llcorehttp/_httpinternal.h
index 465e2036b3..14f744a9f1 100644
--- a/indra/llcorehttp/_httpinternal.h
+++ b/indra/llcorehttp/_httpinternal.h
@@ -111,7 +111,15 @@ const int HTTP_TRACE_MIN = HTTP_TRACE_OFF;
const int HTTP_TRACE_MAX = HTTP_TRACE_CURL_BODIES;
// Request retry limits
-const int HTTP_RETRY_COUNT_DEFAULT = 5;
+//
+// At a minimum, retries need to extend past any throttling
+// window we're expecting from central services. In the case
+// of Linden services running through the caps routers, there's
+// a five-second or so window for throttling with some spillover.
+// We want to span a few windows to allow transport to slow
+// after onset of the throttles and then recover without a final
+// failure. Other systems may need other constants.
+const int HTTP_RETRY_COUNT_DEFAULT = 8;
const int HTTP_RETRY_COUNT_MIN = 0;
const int HTTP_RETRY_COUNT_MAX = 100;