Repository navigation
429 응답의 재시도 대기 시간 반영 - #648
Merged
Merged
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
429 응답의 retryAfterSeconds가 버려져 기본 백오프로 너무 일찍 재요청하던 문제를 수정한다.
Evidence
Repository 예외 전달과 결과 판정 테스트가 통과했다. 오프라인 Android 에뮬레이터에서도 WorkManager의 지연·네트워크 조건과 취소를 확인했다. 실제 시간 경과 후 실행과 서버 연동은 별도 확인이 필요하다.
여러 지연 재시도가 겹치면 순서대로 연결되므로 후속 작업은 서버가 준 최소 대기 시간보다 늦게 실행될 수 있다. 연결된 작업은 동기화 취소 시 함께 취소된다.
Merge Danger
Closes #640