There official sample script includes almost the same comment too I didn't
fiddle really with their retry/httplib logic, there isn't much
documentation on why unfortunately.
On Dec 10, 2013 9:12 PM, "Michael Tom-Wing" <notifications@github.com>
wrote:

> In src/freeseer/framework/youtube.py:
>
> > +        httplib.NotConnected,
> > +        httplib.IncompleteRead,
> > +        httplib.ImproperConnectionState,
> > +        httplib.CannotSendRequest,
> > +        httplib.CannotSendHeader,
> > +        httplib.ResponseNotReady,
> > +        httplib.BadStatusLine
> > +    )
> > +    RETRIABLE_STATUS_CODES = (500, 502, 503, 504)
> > +
> > +
> > +    def __init__(self):
> > +        """Initialize YoutubeService setting up http related values"""
> > +        # Tell the underlying HTTP transport library not to retry, we want explicit control over the retry logic
> > +        # and to only retry on errors/exceptions specified by Google
> > +        httplib2.RETRIES = 1
>
> Google advises people to set httplib2.RETRIES?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Freeseer/freeseer/pull/402/files#r8255686>
> .
>