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

circuitv2: add a relay option to disable limits #2125

Merged
merged 1 commit into from
Feb 22, 2023

Conversation

marten-seemann
Copy link
Contributor

Fixes #2079.

Comment on lines +21 to +22
// WithInfiniteLimits is a Relay option that disables limits.
func WithInfiniteLimits() Option {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// WithInfiniteLimits is a Relay option that disables limits.
func WithInfiniteLimits() Option {
// WithInfiniteLimits is a Relay option that disables limits.
// Enabling this option doesn't apply any filter for which protocols can be used.
func WithInfiniteLimits() Option {

Would it be valuable to add this additional comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not the relay that limits the protocols, this is entirely a decision that the two endpoints using the relay make.

Copy link
Collaborator

@MarcoPolo MarcoPolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much easier than expected!

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.

add a config option to allow all protocols via circuit v2
4 participants