Skip to content
Snippets Groups Projects
Commit 76d708bd authored by Leyla Farazha's avatar Leyla Farazha
Browse files

Turning down dummy avatar name entry expiration to 2 minutes

parent ee8df375
No related branches found
No related tags found
No related merge requests found
...@@ -286,19 +286,9 @@ class LLAvatarNameResponder : public LLHTTPClient::Responder ...@@ -286,19 +286,9 @@ class LLAvatarNameResponder : public LLHTTPClient::Responder
} }
// No information in header, make a guess // No information in header, make a guess
if (status == 503) const F64 DEFAULT_DELAY = 120.0; // 2 mintues
{
// ...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; return now + DEFAULT_DELAY;
} }
}
}; };
void LLAvatarNameCache::processName(const LLUUID& agent_id, void LLAvatarNameCache::processName(const LLUUID& agent_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment