nickva commented on a change in pull request #3609:
URL: https://github.com/apache/couchdb/pull/3609#discussion_r652067543
##########
File path: src/couch/src/couch_httpd.erl
##########
@@ -110,7 +110,7 @@ start_link(Name, Options) ->
{ok, ServerOptions} = couch_util:parse_term(
config:get("httpd", "server_options", "[]")),
{ok, SocketOptions} = couch_util:parse_term(
- config:get("httpd", "socket_options", "[]")),
+ config:get("httpd", "socket_options", "[{sndbuf, 262144}]")),
Review comment:
Hmm it seems this bit of code was duplicated with one right above it, we
do `{ok, ServerOptions} =` twice in a row. Wonder what happened there. I think
we'd want to do it once only and then apply the new defaults.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]