Skip to content

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

Merged
nurupo merged 1 commit into
TokTok:masterfrom
nurupo:bootstrapd-no-insync-tcp-replay-port-count
Dec 6, 2023
Merged

refactor: replace DEFAULT_TCP_RELAY_PORTS_COUNT with a compile-time calculation#2452
nurupo merged 1 commit into
TokTok:masterfrom
nurupo:bootstrapd-no-insync-tcp-replay-port-count

Conversation

@nurupo

@nurupo nurupo commented Dec 5, 2023

Copy link
Copy Markdown
Member

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
@codecov

codecov Bot commented Dec 5, 2023

Copy link
Copy Markdown

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants