Closed GoogleCodeExporter closed 9 years ago
https://codereview.appspot.com/12566043/
Original comment by pele...@google.com
on 16 Aug 2013 at 2:08
Original comment by pele...@google.com
on 16 Aug 2013 at 8:32
[deleted comment]
Reason for this change:
10 tries -> 3 tries
We shouldn't try (again and again and again.... for 10 times).
We want to fail fast, but not immediately. That's why 3 tries in total (with
exponentail back-off it will take 3 additional seconds - first retry after 1
second while the 2nd retry after another 2 seconds), is reasonable.
back-off behavior - from 5xx and exception to 503 only
We should not retry for 500 or 501 (Not Implemented).
The right think to do is to retry when service is unavailable.
The user can change this behavior by changing the default behavior and add a
new logic to retry. The user can of-course also change the number of tries.
Original comment by pele...@google.com
on 19 Aug 2013 at 2:31
Original issue reported on code.google.com by
pele...@google.com
on 6 Aug 2013 at 9:03