emeraldpay / dshackle

Fault Tolerant Load Balancer for Ethereum and Bitcoin APIs
Apache License 2.0
298 stars 65 forks source link

problem: no old blocks in Redis, only fresh blocks #273

Closed splix closed 8 months ago

splix commented 8 months ago

solution: handle the requests for old data and put in Redis

codecov-commenter commented 8 months ago

Codecov Report

Attention: 22 lines in your changes are missing coverage. Please review.

Comparison is base (8dccdc7) 57.99% compared to head (03dc870) 58.07%.

Files Patch % Lines
...emeraldpay/dshackle/startup/ConfiguredUpstreams.kt 6.66% 14 Missing :warning:
...eraldpay/dshackle/upstream/ethereum/CacheUpdate.kt 80.76% 4 Missing and 1 partial :warning:
...ay/dshackle/upstream/bitcoin/BitcoinCacheUpdate.kt 81.25% 2 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #273 +/- ## ============================================ + Coverage 57.99% 58.07% +0.08% - Complexity 1773 1792 +19 ============================================ Files 276 278 +2 Lines 9730 9787 +57 Branches 1212 1216 +4 ============================================ + Hits 5643 5684 +41 - Misses 3428 3440 +12 - Partials 659 663 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.