Skip to content

Commit

Permalink
chore: Remove getRetryAdvice TODO
Browse files Browse the repository at this point in the history
Tracking in #731
  • Loading branch information
palpatim committed Aug 19, 2020
1 parent 1d122b8 commit ddbc64b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ extension RemoteSyncEngine {
}

private func getRetryAdvice(error: Error) -> RequestRetryAdvice {
//TODO: Parse error from the receive completion to use as an input into getting retry advice.
// For now, specifying not connected to internet to force a retry up to our maximum
// Specifying not connected to internet to force a retry up to our maximum
let urlError = URLError(.notConnectedToInternet)
let advice = requestRetryablePolicy.retryRequestAdvice(urlError: urlError,
httpURLResponse: nil,
Expand Down

0 comments on commit ddbc64b

Please sign in to comment.