Open doyaaaaaken opened 5 years ago
Merging #151 into master will increase coverage by
0.08%
. The diff coverage is95%
.
@@ Coverage Diff @@
## master #151 +/- ##
============================================
+ Coverage 90.47% 90.55% +0.08%
- Complexity 128 137 +9
============================================
Files 42 42
Lines 399 413 +14
Branches 45 50 +5
============================================
+ Hits 361 374 +13
Misses 14 14
- Partials 24 25 +1
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
...rybalkinsd/kohttp/interceptors/RetryInterceptor.kt | 93.93% <95%> (-0.8%) |
21 <15> (+9) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 1ac0a9b...c3a0dc8. Read the comment docs.
Hi @doyaaaaaken , I will be able to check this PR on weekend.
as for now, targeting to 0.12.0
with this PR
I simplified logic according to this comment (https://github.com/rybalkinsd/kohttp/pull/151#discussion_r317798695).
And as I said in the first comment (https://github.com/rybalkinsd/kohttp/pull/151#issue-307536896), below tasks are already left.
I fixes code about this comment! https://github.com/rybalkinsd/kohttp/pull/151#discussion_r320482624
All fixes are done, so I remove 'WIP'.
Fixes #105 #108
Read
Retry-After
response header, and decide when to retry next.This is WIP pull request, so below tasks are not started.
Retry-After
value. (GMT format https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After#Directives )Please review whether the direction is correct.