SiftScience / sift-ios

Sift iOS SDK
MIT License
19 stars 25 forks source link

Improves retries backoff for network errors #151

Closed iprysiazhnyi-sift closed 3 months ago

iprysiazhnyi-sift commented 3 months ago

Purpose

Backoff strategy for network errors should be different to HTTP errors

Summary

Set hard limit for no more than 1 minute in retries for network errors. It will be no exponential backoff strategy for such errors, just retries with base backoff delay

Testing

Local testing and unit tests

Checklist