You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a configurable RetryPolicy to the HereAccessTokenProvider, that by default retries socket and 5xx errors up to 2x with backoff.
This would allow, particularly when using HereAccessTokenProvider.Builder.setAlwaysRequestNewToken(true), some additional client-side resilience to network hiccups or expected low-probability failures server-side.
The DefaultRetryPolicy can then be chosen from java.util.Random using exponential random backoff starting with [0,200] ms, with up to 3 max attempts. Or, other suitable alternative.
The text was updated successfully, but these errors were encountered:
kenmccracken
changed the title
Add a configurable RetryPolicy to the HereAccessTokenProvider, that by default retries socket and 5xx errors up to 3x with backoff
Add a configurable RetryPolicy to the HereAccessTokenProvider, that by default retries socket and 5xx errors with backoff
Jun 21, 2019
Add a configurable RetryPolicy to the HereAccessTokenProvider, that by default retries socket and 5xx errors up to 2x with backoff.
This would allow, particularly when using HereAccessTokenProvider.Builder.setAlwaysRequestNewToken(true), some additional client-side resilience to network hiccups or expected low-probability failures server-side.
The DefaultRetryPolicy can then be chosen from java.util.Random using exponential random backoff starting with [0,200] ms, with up to 3 max attempts. Or, other suitable alternative.
The text was updated successfully, but these errors were encountered: