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

refactor: replace DEFAULT_TCP_RELAY_PORTS_COUNT with a compile-time calculation #2452

Merged

Conversation

nurupo
Copy link
Member

@nurupo nurupo commented Dec 5, 2023

That way we don't have to rely on a human to remember to keep DEFAULT_TCP_RELAY_PORTS_COUNT in sync with DEFAULT_TCP_RELAY_PORTS.


This change is Reviewable

@nurupo nurupo force-pushed the bootstrapd-no-insync-tcp-replay-port-count branch 3 times, most recently from 3312109 to 82002a8 Compare December 5, 2023 14:16
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (63fb294) 74.41% compared to head (26d41fc) 74.42%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2452   +/-   ##
=======================================
  Coverage   74.41%   74.42%           
=======================================
  Files          87       87           
  Lines       26264    26264           
=======================================
+ Hits        19545    19546    +1     
+ Misses       6719     6718    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nurupo nurupo marked this pull request as ready for review December 5, 2023 14:56
That way we don't have to rely on a human to remember to keep
DEFAULT_TCP_RELAY_PORTS_COUNT in sync with DEFAULT_TCP_RELAY_PORTS.
@nurupo nurupo force-pushed the bootstrapd-no-insync-tcp-replay-port-count branch from a74c324 to 26d41fc Compare December 5, 2023 14:56
@nurupo nurupo added this to the v0.2.19 milestone Dec 6, 2023
@nurupo nurupo merged commit 26d41fc into TokTok:master Dec 6, 2023
53 checks passed
This pull request was closed.
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.

2 participants