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

Caplin: use sentinel default UDP address 0.0.0.0 #13483

Merged
merged 6 commits into from
Jan 25, 2025
Merged

Caplin: use sentinel default UDP address 0.0.0.0 #13483

merged 6 commits into from
Jan 25, 2025

Conversation

awskii
Copy link
Member

@awskii awskii commented Jan 17, 2025

Caplin's sentinel opens UDP port controlled by flag --caplin.discovery.port we open it at 0.0.0.0 ignoring another flag --caplin.discovery.addr which is 127.0.0.1. TCP port opened correctly with respect of .addr.

PR fixes default behavior.

@awskii awskii added this to the 3.0.0-beta1 milestone Jan 17, 2025
@awskii awskii requested a review from Giulio2002 January 17, 2025 15:53
@awskii awskii self-assigned this Jan 17, 2025
@Giulio2002
Copy link
Contributor

please also set the default addr to 0.0.0.0

@awskii awskii changed the title Caplin: use sentinel default UDP address 127.0.0.1 Caplin: use sentinel default UDP address 0.0.0.0 Jan 20, 2025
@awskii
Copy link
Member Author

awskii commented Jan 20, 2025

are you sure we want to expose this api by default?

@Giulio2002
Copy link
Contributor

yes

@awskii awskii modified the milestones: 3.0.0-beta1, 3.0.0-beta2 Jan 20, 2025
@awskii awskii enabled auto-merge (squash) January 22, 2025 15:42
@awskii awskii merged commit d49eff0 into main Jan 25, 2025
13 checks passed
@awskii awskii deleted the cap-test-port branch January 25, 2025 15:38
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