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

socket_manager_unix: Support REUSEPORT option via envvar #103

Merged
merged 1 commit into from
Jan 24, 2020

Conversation

repeatedly
Copy link
Contributor

We got a balancing issue, incoming data is routed to one worker, from user.
I'm not sure this change fixes the problem, but they want to test REUSEPORT option.
For test, add SERVERENGINE_USE_SOCKET_REUSEPORT envvar to enable it.

@ganmacs
Copy link
Member

ganmacs commented Jan 22, 2020

Are there any reasons you decided to use ENV var? ServerEngine usually receives such option as actual argument like https://github.com/treasure-data/serverengine#list-of-all-configurations

@repeatedly
Copy link
Contributor Author

By adding option, we need to modify fluentd for new options.
Adding option is easy but remove is hard.
envvar is easy for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants