Descriptioncontacts: Rate-limit GData photo requests and handle 404s.
The API returns 503 errors if we try to download photos too
quickly. This change adds cheesy rate-limiting so we don't
request more than 10 photos per second (which appears to be
the undocumented limit) and also makes us retry when we get
a 503.
I'm also making GDataContactsService report success even
when we got 404 errors for some photos, as I see this happen
with my personal account. :-/
BUG=128805
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150344
Patch Set 1 #
Total comments: 5
Patch Set 2 : apply review feedback #Patch Set 3 : merge #
Messages
Total messages: 8 (0 generated)
|