diff options
author | William Todd Stinson <stinson@lindenlab.com> | 2012-12-12 12:53:24 -0800 |
---|---|---|
committer | William Todd Stinson <stinson@lindenlab.com> | 2012-12-12 12:53:24 -0800 |
commit | 0a16fc53cfa62447e37505214391af5f4d04bb7f (patch) | |
tree | 655c5dbd1849cd774a11b5a4a572e2c3b00a1f52 /indra/llcorehttp/_httpinternal.h | |
parent | 3636b10d479043c6e7386bc60af3228bd856f737 (diff) | |
parent | 78b7a4b37c4762ea9503c1da0f79ab8fc412c2b9 (diff) |
Pull and merge from ssh://hg@bitbucket.org/stinson_linden/viewer-chui-stinson-merge.
Diffstat (limited to 'indra/llcorehttp/_httpinternal.h')
-rw-r--r-- | indra/llcorehttp/_httpinternal.h | 10 |
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; |