Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(telemetry): faster fail in case of dial error #2694

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

qdm12
Copy link
Contributor

@qdm12 qdm12 commented Jul 25, 2022

Changes

Encountered the problem due to bad CAs in the Docker image, making it stall foreeever (and adding Prometheus/Grafana and all that)

  • Time bound dialing (otherwise blocks for 30s+)
  • Remove timer after failure
  • Lower max retries from 5 to 3

Tests

Issues

Related to #2693

Primary Reviewer

@timwu20

- Time bound dialing (otherwise blocks for 30s)
- Remove timer after failure
- Lower max retries from 5 to 3
@codecov
Copy link

codecov bot commented Jul 25, 2022

Codecov Report

Merging #2694 (e023675) into development (491af95) will decrease coverage by 0.11%.
The diff coverage is 62.50%.

@@               Coverage Diff               @@
##           development    #2694      +/-   ##
===============================================
- Coverage        62.82%   62.71%   -0.12%     
===============================================
  Files              211      211              
  Lines            27000    26995       -5     
===============================================
- Hits             16964    16929      -35     
- Misses            8489     8519      +30     
  Partials          1547     1547              
Flag Coverage Δ
unit-tests 62.71% <62.50%> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
dot/telemetry/mailer.go 70.96% <62.50%> (+9.77%) ⬆️
dot/network/inbound.go 0.00% <0.00%> (-63.16%) ⬇️
dot/network/light.go 85.25% <0.00%> (-0.80%) ⬇️

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 491af95...e023675. Read the comment docs.

@qdm12 qdm12 merged commit b9449d1 into development Jul 26, 2022
@qdm12 qdm12 deleted the qdm12/telemetry/faster-connection-try branch July 26, 2022 13:53
@github-actions
Copy link

🎉 This PR is included in version 0.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants