Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry requests even when there is no connectivity #1563

Merged
merged 1 commit into from
Jan 4, 2017

Conversation

dlew
Copy link
Contributor

@dlew dlew commented Jan 4, 2017

BitmapHunter was intended to eventually retry using NetworkPolicy.OFFLINE
if there were enough failed retries. However, the code was (at
some point) changed so that it would not retry if you had no connectivity.
These two behaviors were at odds, so I changed it back to depending
solely on BitmapHunter.shouldRetry().

BitmapHunter was intended to eventually retry using NetworkPolicy.OFFLINE
if there were enough failed retries. However, the code was (at
some point) changed so that it would not retry if you had no connectivity.
These two behaviors were at odds, so I changed it back to depending
solely on BitmapHunter.shouldRetry().
@JakeWharton JakeWharton merged commit 8f892b1 into square:master Jan 4, 2017
@dlew dlew deleted the dlew/fix-offline-retries branch January 4, 2017 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants