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,18 +286,8 @@ class LLAvatarNameResponder : public LLHTTPClient::Responder ...@@ -286,18 +286,8 @@ 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
{ return now + DEFAULT_DELAY;
// ...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;
}
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment