diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-11-11 15:53:13 -0800 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-11-11 15:53:13 -0800 |
commit | 76d708bdb5230aaeb9a15bb2fb475458d8bb996e (patch) | |
tree | b6f0b516648cf58d782daa7593a9a84f87141c07 /indra | |
parent | ee8df375449e97476408417ec6dea0d6a8853d73 (diff) |
Turning down dummy avatar name entry expiration to 2 minutes
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llmessage/llavatarnamecache.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/indra/llmessage/llavatarnamecache.cpp b/indra/llmessage/llavatarnamecache.cpp index 2f2d9099a3..7396117d84 100644 --- a/indra/llmessage/llavatarnamecache.cpp +++ b/indra/llmessage/llavatarnamecache.cpp @@ -286,18 +286,8 @@ public: } // No information in header, make a guess - if (status == 503) - { - // ...service unavailable, retry soon - const F64 SERVICE_UNAVAILABLE_DELAY = 600.0; // 10 min - return now + SERVICE_UNAVAILABLE_DELAY; - } - else - { - // ...other unexpected error - const F64 DEFAULT_DELAY = 3600.0; // 1 hour - return now + DEFAULT_DELAY; - } + const F64 DEFAULT_DELAY = 120.0; // 2 mintues + return now + DEFAULT_DELAY; } }; |