On Wednesday, February 10, 2016 at 10:59:44 PM UTC-5, Nikolaus Rath wrote:
>
> On Feb 10 2016, Chris <[email protected] <javascript:>> wrote:
> >>
> >> > a) Retry on these errors until the connection responds properly
> again?
> >> I'm
> >> > sure these hiccups are temporary
> >>
> >> Yes, that should work and be a relatively simple change.
> >>
> >
> > Could you please tell me how I might do that, or at least point me in
> the
> > right direction?
>
> Add dugong.UnsupportedResponse to the list of exceptions in the
> is_temp_failure() method of the backend.
>
Thank you for the help, even though I know how annoyed you are with the
influx of hubic users.
I should add it like so to s3c.py:
def is_temp_failure(self, exc): #IGNORE:W0613
if isinstance(exc, (InternalError, BadDigestError,
IncompleteBodyError,
RequestTimeoutError, OperationAbortedError,
SlowDownError, ServiceUnavailableError,
dugong.UnsupportedResponse)):
return True
Is that correct? Thanks for your time!
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.