|
Add HTTP timeouts and retry to UPS auth token fetch
A hung connection to onlinetools.ups.com had no timeout, so it would stall for minutes before failing, and the resulting exception from getAuthToken() was uncaught, killing the entire batch before any parcels were processed. Add connect/socket timeouts and retry with backoff on IOException for the token request. |
|---|
|
|
| src/main/java/io/ljunggren/ups/api/service/BaseService.java |
|---|
| src/main/java/io/ljunggren/ups/api/service/OauthService.java |
|---|