|
Add HTTP timeouts and retry to DHL tracking requests
No connect/socket timeout was configured on the HTTP client, and TrackingService.track() only retried after receiving an HTTP 429/500 response - a connection-level IOException (e.g. a stalled connection) propagated uncaught, failing the whole batch on a single parcel. Add timeouts and retry with backoff on IOException around the request execution. |
|---|
|
|
| src/main/java/io/ljunggren/dhl/api/service/BaseService.java |
|---|
| src/main/java/io/ljunggren/dhl/api/service/TrackingService.java |
|---|