emeraldpay / dshackle

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

solution: disable upstream for 1 minute when they give 429 Too Many R… #270

Closed splix closed 9 months ago

codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (15c8209) 58.03% compared to head (58fe524) 57.94%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #270 +/- ## ============================================ - Coverage 58.03% 57.94% -0.10% - Complexity 1768 1772 +4 ============================================ Files 276 276 Lines 9702 9731 +29 Branches 1204 1212 +8 ============================================ + Hits 5631 5639 +8 - Misses 3419 3430 +11 - Partials 652 662 +10 ``` | [Files](https://app.codecov.io/gh/emeraldpay/dshackle/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=emeraldpay) | Coverage Δ | | |---|---|---| | [...kotlin/io/emeraldpay/dshackle/quorum/CallQuorum.kt](https://app.codecov.io/gh/emeraldpay/dshackle/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=emeraldpay#diff-c3JjL21haW4va290bGluL2lvL2VtZXJhbGRwYXkvZHNoYWNrbGUvcXVvcnVtL0NhbGxRdW9ydW0ua3Q=) | `33.33% <50.00%> (+33.33%)` | :arrow_up: | | [.../dshackle/upstream/ethereum/EthereumRpcUpstream.kt](https://app.codecov.io/gh/emeraldpay/dshackle/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=emeraldpay#diff-c3JjL21haW4va290bGluL2lvL2VtZXJhbGRwYXkvZHNoYWNrbGUvdXBzdHJlYW0vZXRoZXJldW0vRXRoZXJldW1ScGNVcHN0cmVhbS5rdA==) | `42.10% <33.33%> (-0.49%)` | :arrow_down: | | [...y/dshackle/upstream/ethereum/EthereumWsUpstream.kt](https://app.codecov.io/gh/emeraldpay/dshackle/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=emeraldpay#diff-c3JjL21haW4va290bGluL2lvL2VtZXJhbGRwYXkvZHNoYWNrbGUvdXBzdHJlYW0vZXRoZXJldW0vRXRoZXJldW1Xc1Vwc3RyZWFtLmt0) | `0.00% <0.00%> (ø)` | | | [...y/dshackle/upstream/rpcclient/JsonRpcHttpClient.kt](https://app.codecov.io/gh/emeraldpay/dshackle/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=emeraldpay#diff-c3JjL21haW4va290bGluL2lvL2VtZXJhbGRwYXkvZHNoYWNrbGUvdXBzdHJlYW0vcnBjY2xpZW50L0pzb25ScGNIdHRwQ2xpZW50Lmt0) | `72.61% <50.00%> (-1.14%)` | :arrow_down: | | [...io/emeraldpay/dshackle/upstream/DefaultUpstream.kt](https://app.codecov.io/gh/emeraldpay/dshackle/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=emeraldpay#diff-c3JjL21haW4va290bGluL2lvL2VtZXJhbGRwYXkvZHNoYWNrbGUvdXBzdHJlYW0vRGVmYXVsdFVwc3RyZWFtLmt0) | `82.00% <63.63%> (-2.27%)` | :arrow_down: | | [...dshackle/upstream/rpcclient/JsonRpcSwitchClient.kt](https://app.codecov.io/gh/emeraldpay/dshackle/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=emeraldpay#diff-c3JjL21haW4va290bGluL2lvL2VtZXJhbGRwYXkvZHNoYWNrbGUvdXBzdHJlYW0vcnBjY2xpZW50L0pzb25ScGNTd2l0Y2hDbGllbnQua3Q=) | `56.25% <12.50%> (-43.75%)` | :arrow_down: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/emeraldpay/dshackle/pull/270/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=emeraldpay)

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