Skip to content

Conversation

@mururu
Copy link
Member

@mururu mururu commented Dec 12, 2017

It is useful for tuning of udp input.

desc "Remove newline from the end of incoming payload"
config_param :remove_newline, :bool, default: true
desc "The max size of socket receive buffer. SO_RCVBUF"
config_param :recv_buffer, :size, default: nil
Copy link
Member

Choose a reason for hiding this comment

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

receive_buffer_size is better.

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay. I just followed recv_timeout, but it isn't a parameter name yet.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, public name should be clear.

@mururu
Copy link
Member Author

mururu commented Dec 13, 2017

The test fails on CI. I'll check it.

@repeatedly
Copy link
Member

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