rybalkinsd / kohttp

Kotlin DSL http client
https://kohttp.gitbook.io
Apache License 2.0
478 stars 42 forks source link

add retry interceptor #100

Closed UDarya closed 5 years ago

codecov[bot] commented 5 years ago

Codecov Report

Merging #100 into release/0.9.0 will decrease coverage by 0.87%. The diff coverage is 85.18%.

Impacted file tree graph

@@                Coverage Diff                 @@
##             release/0.9.0    #100      +/-   ##
==================================================
- Coverage            95.57%   94.7%   -0.88%     
- Complexity             106     115       +9     
==================================================
  Files                   32      33       +1     
  Lines                  294     321      +27     
  Branches                21      25       +4     
==================================================
+ Hits                   281     304      +23     
- Misses                   2       4       +2     
- Partials                11      13       +2
Impacted Files Coverage Δ Complexity Δ
...rybalkinsd/kohttp/interceptors/RetryInterceptor.kt 85.18% <85.18%> (ø) 9 <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 0c1effa...b1d2a31. Read the comment docs.

rybalkinsd commented 5 years ago

@UDarya How do u think about 429 error code? Please also check Retry-After header

rybalkinsd commented 5 years ago

@gokulchandra Probably u will have a moment to have a look at this PR